protected virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { _context.Dispose(); } this.disposed = true; } }
protected virtual void Dispose(bool disposing) { // Console.WriteLine("Objec is distroy"); if (!this.disposed) { if (disposing) { Console.WriteLine("Context Object is Distroy"); context.Dispose(); } this.disposed = true; } }