예제 #1
0
        public void ReNewContext()
        {
            ContextCis.Dispose();
            ContextOper.Dispose();
            ContextSas.Dispose();

            ContextCis  = new ModelTFundCis();
            ContextOper = new ModelTFundOper();
            ContextSas  = new ModelTFundSas();
        }
예제 #2
0
 public GenericUnitOfWork(ModelTFundCis contextCis, ModelTFundOper contextOper, ModelTFundSas contextSas)
 {
     ContextCis  = contextCis;
     ContextOper = contextOper;
     ContextSas  = contextSas;
 }
예제 #3
0
 public UnitOfWorkTFund(ModelTFundCis contextCis, ModelTFundOper contextOper)
 {
     this.ContextCis  = (ModelTFundCis)contextCis;
     this.ContextOper = (ModelTFundOper)contextOper;
 }