public SqlServerPaginationCommand(
     SqlConnectionStringBuilder builder,
     DatabaseCommandBuilder databaseCommandBuilder,
     ISqlServerCommandExecutor commandExecutor)
 {
     _databaseCommander = new SqlServerDatabaseCommander(builder, databaseCommandBuilder, commandExecutor);
 }
 public SqlServerSqlQueryCommand(
     ISqlServerConnectionProvider connectionProvider,
     ISqlServerCommandExecutor commandExecutor)
 {
     _connectionProvider = connectionProvider;
     _commandExecutor    = commandExecutor;
 }
Example #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;
 }
Example #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;
 }
Example #7
0
 public EntityFrameworkSqlServerDatabaseCommanderFactory(
     DbContext dbContext,
     DatabaseCommandBuilder databaseCommandBuilder,
     IConnectionStringCollection connectionStringCollection,
     ISqlServerCommandExecutor commandExecutor)
 {
     _dbContext = dbContext;
     _databaseCommandBuilder     = databaseCommandBuilder;
     _connectionStringCollection = connectionStringCollection;
     _commandExecutor            = commandExecutor;
 }