public void ReNewContext() { ContextCis.Dispose(); ContextOper.Dispose(); ContextSas.Dispose(); ContextCis = new ModelTFundCis(); ContextOper = new ModelTFundOper(); ContextSas = new ModelTFundSas(); }
protected virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { ContextCis.Dispose(); } } this.disposed = true; }