public BaseBusinessLogic()
 {
     db = new WasteManagerEntities();
     db.Database.CommandTimeout = 180;
     db.Database.ExecuteSqlCommand("SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;");
     this.isExternalDb = false;
     db.Configuration.LazyLoadingEnabled   = true;
     db.Configuration.ProxyCreationEnabled = true;
 }
 public TruckBusinessLogic(WasteManagerEntities db) : base(db)
 {
 }
 public BuildingsLogic(WasteManagerEntities db) : base(db)
 {
 }
 public BaseBusinessLogic(WasteManagerEntities db)
 {
     this.db           = db;
     this.isExternalDb = true;
 }
Exemple #5
0
 public LutLogic(WasteManagerEntities db) : base(db)
 {
 }