Esempio n. 1
0
        protected LocalizedRepository(
            [NotNull] IDbContextProvider dbContextProvider,
            [NotNull] IUserLocalizationProvider userLocalizationProvider)
            : base(dbContextProvider)
        {
            if (userLocalizationProvider == null)
            {
                throw new ArgumentNullException(nameof(userLocalizationProvider));
            }

            _userLocalizationProvider = userLocalizationProvider;
        }
Esempio n. 2
0
        public TableColumnsRepository(
            [NotNull] IDbContextProvider dbContextProvider,
            [NotNull] IUserLocalizationProvider userLocalizationProvider)
            : base(dbContextProvider, userLocalizationProvider)
        {
            if (dbContextProvider == null)
            {
                throw new ArgumentNullException(nameof(dbContextProvider));
            }

            _dbContextProvider = dbContextProvider;
        }
 public TableRepository(
     [NotNull] IDbContextProvider dbContextProvider,
     [NotNull] IUserLocalizationProvider userLocalizationProvider) : base(dbContextProvider, userLocalizationProvider)
 {
     _dbContextProvider = dbContextProvider;
 }