protected virtual void Dispose(bool disposing) { if (!disposed && disposing) { context.Dispose(); } disposed = true; }
protected virtual void Dispose(bool disposing) { if (!disposed && disposing) { if (cusRelContext != null) { cusRelContext.Dispose(); } } disposed = true; }
protected virtual void Dispose(bool disposing) { if (!disposed && disposing) { if (cusRelContext != null) { cusRelContext.Dispose(); } if (employeeEntities != null) { employeeEntities.Dispose(); } } disposed = true; }