/// <summary>
 /// Create new context if null
 /// </summary>
 public NEXUS_SystemEntities GetContext()
 {
     if (Context == null)
     {
         Context = new NEXUS_SystemEntities();
     }
     return(Context);
 }
Beispiel #2
0
 public GenericBusiness(NEXUS_SystemEntities context = null)
 {
     if (context == null)
     {
         this.context = new NEXUS_SystemEntities();
     }
     cnn = this.context;
     //this.context.Configuration.AutoDetectChangesEnabled = false;
     //this.context.Configuration.ValidateOnSaveEnabled = false;
     //this.context.Configuration.LazyLoadingEnabled = false;
 }
 public CustomerServicePlanBusiness(NEXUS_SystemEntities context = null) : base()
 {
 }
 public OrderBusiness(NEXUS_SystemEntities context = null) : base()
 {
 }
Beispiel #5
0
 public CategoryBusiness(NEXUS_SystemEntities context = null) : base()
 {
 }
 public LoginBusiness(NEXUS_SystemEntities context = null) : base()
 {
 }