Exemple #1
0
        public DapperRepository(IDapperSettings dapperSettings
                                , IActiveDbConnectionProvider activeConnectionProvider
                                , IActiveDbTransactionProvider activeTransactionProvider)
        {
            ActiveConnectionProvider = activeConnectionProvider ?? throw new ArgumentNullException(nameof(activeConnectionProvider));

            ActiveTransactionProvider = activeTransactionProvider ?? throw new ArgumentNullException(nameof(activeTransactionProvider));

            DapperSettings = dapperSettings ?? throw new ArgumentNullException(nameof(dapperSettings));
        }
Exemple #2
0
 public DapperRepository(IDapperSettings dapperSettings
                         , IActiveDbConnectionProvider activeConnectionProvider
                         , IActiveDbTransactionProvider activeTransactionProvider) : base(dapperSettings, activeConnectionProvider, activeTransactionProvider)
 {
 }