public FakeDbCommand( FakeDbConnection connection, FakeCommandExecutor commandExecutor) { DbConnection = connection; _commandExecutor = commandExecutor; }
public FakeDbConnection( string connectionString, FakeCommandExecutor commandExecutor = null, ConnectionState state = ConnectionState.Closed) { ConnectionString = connectionString; _commandExecutor = commandExecutor ?? new FakeCommandExecutor(); _state = state; }