Ejemplo n.º 1
0
 public FakeDbCommand(
     FakeDbConnection connection,
     FakeCommandExecutor commandExecutor)
 {
     DbConnection = connection;
     _commandExecutor = commandExecutor;
 }
Ejemplo n.º 2
0
 public FakeDbCommand(
     FakeDbConnection connection,
     FakeCommandExecutor commandExecutor)
 {
     DbConnection     = connection;
     _commandExecutor = commandExecutor;
 }
Ejemplo n.º 3
0
 public FakeDbConnection(
     string connectionString,
     FakeCommandExecutor commandExecutor = null,
     ConnectionState state = ConnectionState.Closed)
 {
     ConnectionString = connectionString;
     _commandExecutor = commandExecutor ?? new FakeCommandExecutor();
     _state           = state;
 }
Ejemplo n.º 4
0
 public FakeDbConnection(
     string connectionString,
     FakeCommandExecutor commandExecutor = null,
     ConnectionState state = ConnectionState.Closed)
 {
     ConnectionString = connectionString;
     _commandExecutor = commandExecutor ?? new FakeCommandExecutor();
     _state = state;
 }