Пример #1
0
 public FakeCypherDbCommand(
     FakeCypherDbConnection connection,
     FakeCypherCommandExecutor commandExecutor)
 {
     DbConnection     = connection;
     _commandExecutor = commandExecutor;
 }
 public FakeCypherDbConnection(
     string connectionString,
     FakeCypherCommandExecutor commandExecutor = null,
     ConnectionState state = ConnectionState.Closed)
 {
     ConnectionString = connectionString;
     _commandExecutor = commandExecutor ?? new FakeCypherCommandExecutor();
     _state           = state;
 }