public void Dispose() { if (model != null) { model.Dispose(); } }
public void Dispose() { if (db != null) { db.Dispose(); } }
protected override void Dispose(bool disposing) { if (disposing) { db.Dispose(); } base.Dispose(disposing); }
protected void Dispose(bool disposing) { if (disposing) { if (db != null) { db.Dispose(); db = null; } } }
public void Dispose() { initor.coins.Clear(); initor.traders.Clear(); initor.contracts.Clear(); if (ars != null) { ars.Flush(); ars.Dispose(); ars = null; } if (srs != null) { srs.Flush(); srs.Dispose(); srs = null; } if (DbModel != null) { DbModel.Dispose(); DbModel = null; } }
protected override void Dispose(bool disposing) { _entityModel.Dispose(); base.Dispose(disposing); }
public void Dispose() { db.Dispose(); }