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