Beispiel #1
0
 public SqlDBTransaction(SqlDB db)
     : base(db.ConnectionString, db.SqlAnalyzer, db.StrictTables)
 {
     _conn = db._getConnection();
     _conn.Open();
     _transaction = _conn.BeginTransaction();
 }
Beispiel #2
0
 public static ModifiableSqlDB ModifiableSql2005(string connString, ITypedDBAnalyzer taxonomy = null)
 {
     var analyzer = new SqlAnalyzer(connString);
     var modifier = new SqlModifier(connString, analyzer, taxonomy);
     var db = new SqlDB(connString, analyzer, false);
     return new ModifiableSqlDB(db, modifier);
 }
Beispiel #3
0
 public ModifiableSqlDB(SqlDB db, SqlModifier modifier)
 {
     SqlModifier = modifier;
     DB = db;
 }