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