Esempio n. 1
0
 public ExtensionsSqlServerConnection(RelationalConnectionDependencies dependencies
                                      , ISqlCommandCatchingStore catchingStore
                                      , ISqlCommandCatchingState catchingState)
     : base(dependencies)
 {
     _catchingStore = catchingStore;
     _catchingState = catchingState;
 }
 public CommandCatchingDbConnectionProxy(string connectionString
                                         , ISqlCommandCatchingState catchingState
                                         , ISqlCommandCatchingStore catchingStore
                                         , Func <DbConnection> factory)
     : base(connectionString)
 {
     _catchingState = catchingState;
     _executor      = new CatchingCommandExecutor(catchingStore);
     _factory       = factory;
 }
 public CatchingCommandExecutor(ISqlCommandCatchingStore commandStore)
 {
     _commandStore = commandStore;
 }