简体   繁体   English

如何在控制台应用程序中创建UniDac MySQL组件?

[英]How to create UniDac MySQL components in console application?

As preliminary information: I've never used a component which i can drag & drop to the formular designer in a console application. 作为初步信息:我从未使用过可以拖放到控制台应用程序中的公式设计器的组件。

At the moment i use: 目前我使用:

  • UniConnection UniConnection
  • UniQuery UniQuery
  • UniDataSource UniDataSource
  • MySQLUniProvider MySQLUniProvider

My question is now: How can i create these 4 components in a console application and how to use them correctly? 我现在的问题是:如何在控制台应用程序中创建这4个组件以及如何正确使用它们?

Thanks in advance 提前致谢

You can just add a datamodule to your conosole applicaiton and drop the components there. 您只需将数据模块添加到conosole应用程序中,然后将组件放在那里即可。 Also you can create them by code. 您也可以通过代码创建它们。 Just check the their properties and see how they are linked to each other. 只需检查它们的属性,看看它们是如何相互关联的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM