예제 #1
0
 public WebPageUpdateRepository(AreaMonitorContext context)
     : base(context)
 {
 }
예제 #2
0
 public BaseRepository(AreaMonitorContext context)
 {
     this.context = context;
     entities     = context.Set <T>();
 }
예제 #3
0
 public UserRepository(AreaMonitorContext context)
     : base(context)
 {
 }
예제 #4
0
 public AreaMonitorUnitOfWork(AreaMonitorContext context, ILifetimeScope lifetimeScope)
 {
     this.context       = context ?? throw new ArgumentNullException(nameof(context));
     this.lifetimeScope = lifetimeScope ?? throw new ArgumentNullException(nameof(lifetimeScope));
 }