public void Dispose() { if (context != null) { context.Dispose(); context = null; } }
public void Dispose() { if (context != null) { context.Dispose(); context = null; } GC.SuppressFinalize(this); }
public void Dispose() { //TODO :Lab 02 Exercise 1, Task 4.4 : Implement the Dispose Method if (context != null) { context.Dispose(); context = null; } }