Пример #1
0
 public UserRepository(XptoContext context)
     : base(context)
 {
 #if DEBUG
     context.Database.EnsureCreated();
 #endif
 }
Пример #2
0
 public RouteRepository(XptoContext context) 
     : base(context) { }
Пример #3
0
 public KnownRouteRepository(XptoContext context, IRouteRepository _routeRepository)
     : base(context)
 {
     routeRepository = _routeRepository;
 }
Пример #4
0
 public Repository(XptoContext context)
 {
     _dbContext = context;
     _dbSet     = _dbContext.Set <TEntity>();
 }
Пример #5
0
 public MapPointRepository(XptoContext context)
     : base(context)
 {
 }