public void ReNewContext() { ContextCis.Dispose(); ContextOper.Dispose(); ContextSas.Dispose(); ContextCis = new ModelTFundCis(); ContextOper = new ModelTFundOper(); ContextSas = new ModelTFundSas(); }
public GenericUnitOfWork(ModelTFundCis contextCis, ModelTFundOper contextOper, ModelTFundSas contextSas) { ContextCis = contextCis; ContextOper = contextOper; ContextSas = contextSas; }
public UnitOfWorkTFund(ModelTFundCis contextCis, ModelTFundOper contextOper) { this.ContextCis = (ModelTFundCis)contextCis; this.ContextOper = (ModelTFundOper)contextOper; }