public App()
 {
     // register metadata providers
     MSSQLConnectionDescriptor.Register();
     ODBCConnectionDescriptor.Register();
     OLEDBConnectionDescriptor.Register();
     MySQLConnectionDescriptor.Register();
     FirebirdConnectionDescriptor.Register();
     SybaseConnectionDescriptor.Register();
     PostgreSQLConnectionDescriptor.Register();
 }
コード例 #2
0
 static void Main()
 {
     MSSQLConnectionDescriptor.Register();
     ODBCConnectionDescriptor.Register();
     OLEDBConnectionDescriptor.Register();
     OracleNativeConnectionDescriptor.Register();
     MySQLConnectionDescriptor.Register();
     FirebirdConnectionDescriptor.Register();
     SybaseConnectionDescriptor.Register();
     PostgreSQLConnectionDescriptor.Register();
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Application.Run(new MetadataEditor());
 }