public GenericRepository(DeliveryServiceDBContext dbcontext) { this.dbContext = dbcontext; this.dbSet = dbContext.Set <T>(); this.dbContext.Configuration.LazyLoadingEnabled = false; this.dbContext.Configuration.AutoDetectChangesEnabled = false; this.dbContext.Configuration.ProxyCreationEnabled = false; }
public BaseModelsRepository(DeliveryServiceDBContext db) : base(db) { //NestedProperties = new[] { "X", "Y", "Z" }; }
public AuthenticationService(DeliveryServiceDBContext context) { _context = context; }
public OrderServiceApi(ICustomer customer, DeliveryServiceDBContext context) { _customer = customer; _context = context; }
public PointsRepository(DeliveryServiceDBContext db) : base(db) { NestedProperties = new[] { "DepartureRoutes", "ArrivalRoutes" }; }
public CustomerServiceApi(DeliveryServiceDBContext context) { this._context = context; }