private void Window_Closed(object sender, EventArgs e) { if (db != null) { db.Dispose(); } }
private void Dispose(bool disposing) { if (disposing) { if (_odb != null) { _odb.Dispose(); } } }