示例#1
0
 public SqlDBTransaction(SqlDB db)
     : base(db.ConnectionString, db.SqlAnalyzer, db.StrictTables)
 {
     _conn = db._getConnection();
     _conn.Open();
     _transaction = _conn.BeginTransaction();
 }
示例#2
0
文件: ConnectTo.cs 项目: badjer/Lasy
 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);
 }
示例#3
0
 public ModifiableSqlDB(SqlDB db, SqlModifier modifier)
 {
     SqlModifier = modifier;
     DB = db;
 }