public static EnterpriseDbContent GetCurrentContext() { EnterpriseDbContent context = CallContext.GetData("EnterpriseDbContent") as EnterpriseDbContent; if (context == null) { context = new EnterpriseDbContent(); CallContext.SetData("EnterpriseDbContent",context); } return context; }
public static EnterpriseDbContent GetCurrentContext() { EnterpriseDbContent context = CallContext.GetData("EnterpriseDbContent") as EnterpriseDbContent; if (context == null) { context = new EnterpriseDbContent(); CallContext.SetData("EnterpriseDbContent", context); } return(context); }