Exemple #1
0
        public EvaMigrationsProvider(EvaContext context, ILoggerFactory loggerFactory)
        {
            _context = context ?? throw new ArgumentNullException(nameof(context));
            if (loggerFactory == null)
            {
                throw new ArgumentNullException(nameof(loggerFactory));
            }

            _logger = loggerFactory.CreateLogger <EvaMigrationsProvider>();
        }
Exemple #2
0
 protected Repository(EvaContext context)
 {
     Context = context ?? throw new ArgumentNullException(nameof(context));
 }
Exemple #3
0
 public AttributeRepository(EvaContext context) : base(context)
 {
 }
Exemple #4
0
 public EntityRepository(EvaContext context) : base(context)
 {
 }