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