예제 #1
0
 public AdvantageDatabase(string connstring)
 {
     SchemaValidator            = new NotifyValidator(this);
     Connection                 = new AdvantageConnection(connstring);
     this.ExecuteCommands       = new AdvantageCommandExecutor();
     this.TypeInformationParser = new TypeParser(this);
     this.ObjectFinder          = new NoSchemaSupportObjectFinder();
 }
예제 #2
0
 public AdvantageDatabase(string datapath, string tabletype, string servertype)
 {
     SchemaValidator            = new NotifyValidator(this);
     Connection                 = new AdvantageConnection(datapath, tabletype, servertype);
     this.ExecuteCommands       = new AdvantageCommandExecutor();
     this.TypeInformationParser = new TypeParser(this);
     this.ObjectFinder          = new NoSchemaSupportObjectFinder();
 }