public SqlDBTransaction(SqlDB db) : base(db.ConnectionString, db.SqlAnalyzer, db.StrictTables) { _conn = db._getConnection(); _conn.Open(); _transaction = _conn.BeginTransaction(); }
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); }
public ModifiableSqlDB(SqlDB db, SqlModifier modifier) { SqlModifier = modifier; DB = db; }