Example #1
0
 protected DbExecutor NewExecutor(string connectionString, IsolationLevel tranLevel = IsolationLevel.Unspecified)
 {
     return(DbFactory.CreateExecutor(connectionString, DatabaseType.SqlServer, DataConnectionMode.Instance, tranLevel));
 }
Example #2
0
 protected DbExecutor NewExecutor(string connectionString, IsolationLevel tranLevel = IsolationLevel.Unspecified)
 {
     return(DbFactory.CreateExecutor(connectionString, this.DBType, tranLevel));
 }