protected override void DisposeCore() { _dataContext?.Dispose(); base.DisposeCore(); }
public void Dispose() { context.Dispose(); }
public virtual void Dispose() { context.Dispose(); }
public void Dispose() { sqlContext.Dispose(); }
public static void Destroy(SqlContext context) { context.Database.EnsureDeleted(); context.Dispose(); }
protected override void Dispose(bool disposing) { base.Dispose(disposing); _dbContext.Dispose(); }
public void Dispose() { _context.Dispose(); GC.SuppressFinalize(this); }
/// <summary> /// Disposes of the database connection. /// </summary> public void Dispose() { db.Dispose(); }
public void Dispose() { Db.Dispose(); GC.SuppressFinalize(this); }