示例#1
0
        public void ReNewContext()
        {
            ContextCis.Dispose();
            ContextOper.Dispose();
            ContextSas.Dispose();

            ContextCis  = new ModelTFundCis();
            ContextOper = new ModelTFundOper();
            ContextSas  = new ModelTFundSas();
        }
示例#2
0
 protected virtual void Dispose(bool disposing)
 {
     if (!this.disposed)
     {
         if (disposing)
         {
             ContextCis.Dispose();
         }
     }
     this.disposed = true;
 }