private void DisposeContext() { if (Query != null) { Query.Dispose(); } Query = null; Session = null; }
private void DisposeContext() { if (Query != null) { Query.Dispose(); } if (Database != null) { Database.Dispose(); } if (System != null) { System.Dispose(); } Query = null; Database = null; Database = null; System = null; }