Exemple #1
0
 public static SchemaConnection Create(SchemaDriver schemaDriver, string connectionString)
 {
     return(new SchemaConnection(schemaDriver, connectionString));
 }
Exemple #2
0
 protected SchemaConnection(SchemaDriver schemaDriver, string connectionString)
     : base(schemaDriver.DbDriver, connectionString)
 {
     this.schemaDriver  = schemaDriver;
     this.sqlTranslator = new Lazy <SqlTranslator>(() => new SqlTranslator(schemaDriver, null));
 }