public SqlServerPaginationCommand(
     SqlConnectionStringBuilder builder,
     DatabaseCommandBuilder databaseCommandBuilder,
     ISqlServerCommandExecutor commandExecutor)
 {
     _databaseCommander = new SqlServerDatabaseCommander(builder, databaseCommandBuilder, commandExecutor);
 }
 public SqlServerSqlQueryCommand(
     ISqlServerConnectionProvider connectionProvider,
     ISqlServerCommandExecutor commandExecutor)
 {
     _connectionProvider = connectionProvider;
     _commandExecutor    = commandExecutor;
 }
예제 #3
0
 public SqlServerStoredProcedureCommand(
     ISqlServerConnectionProvider connectionProvider,
     ISqlServerCommandExecutor commandExecutor)
 {
     _connectionProvider = connectionProvider;
     _commandExecutor    = commandExecutor;
 }
 public SqlServerDatabaseCommanderFactory(
     IConnectionStringCollection connectionStringCollection,
     DatabaseCommandBuilder databaseCommandBuilder,
     ISqlServerCommandExecutor sqlServerCommandExecutor)
 {
     _connectionStringCollection = connectionStringCollection;
     _databaseCommandBuilder     = databaseCommandBuilder;
     _sqlServerCommandExecutor   = sqlServerCommandExecutor;
 }
예제 #5
0
 public EntityFrameworkSqlServerDatabaseCommander(
     DbContext dbContext,
     DatabaseCommandBuilder databaseCommandBuilder,
     SqlConnectionStringBuilder builder,
     ISqlServerCommandExecutor commandExecutor)
     : base(builder, databaseCommandBuilder, commandExecutor)
 {
     _dbContext = dbContext;
 }
 public SqlServerDatabaseCommander(
     SqlConnectionStringBuilder builder,
     DatabaseCommandBuilder databaseCommandBuilder,
     ISqlServerCommandExecutor commandExecutor)
     : base(databaseCommandBuilder)
 {
     _builder         = builder;
     _commandExecutor = commandExecutor;
 }
예제 #7
0
 public EntityFrameworkSqlServerDatabaseCommanderFactory(
     DbContext dbContext,
     DatabaseCommandBuilder databaseCommandBuilder,
     IConnectionStringCollection connectionStringCollection,
     ISqlServerCommandExecutor commandExecutor)
 {
     _dbContext = dbContext;
     _databaseCommandBuilder     = databaseCommandBuilder;
     _connectionStringCollection = connectionStringCollection;
     _commandExecutor            = commandExecutor;
 }