コード例 #1
0
ファイル: UnitOfWork.cs プロジェクト: kidfox2001/KeepFile
        public void ReNewContext()
        {
            ContextCis.Dispose();
            ContextOper.Dispose();
            ContextSas.Dispose();

            ContextCis  = new ModelTFundCis();
            ContextOper = new ModelTFundOper();
            ContextSas  = new ModelTFundSas();
        }
コード例 #2
0
ファイル: UnitOfWork.cs プロジェクト: kidfox2001/KeepFile
 public GenericUnitOfWork(ModelTFundCis contextCis, ModelTFundOper contextOper, ModelTFundSas contextSas)
 {
     ContextCis  = contextCis;
     ContextOper = contextOper;
     ContextSas  = contextSas;
 }