示例#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)
 {
 }