Exemplo n.º 1
0
        /// <summary>
        /// 初始化 <see cref="Database"/> 类的新实例。
        /// </summary>
        protected Database()
        {
            tranStack = new TransactionStack();
            dbScope   = new DatabaseScope(this);
#if !NET35 && !NET40
            taskMgr = new AsyncTaskManager(this);
#endif
        }
Exemplo n.º 2
0
 /// <summary>
 /// 初始化 <see cref="Database"/> 类的新实例。
 /// </summary>
 protected Database()
 {
     tranStack = new TransactionStack();
     dbScope   = new DatabaseScope(this);
 }
Exemplo n.º 3
0
 /// <summary>
 /// 初始化 <see cref="Database"/> 类的新实例。
 /// </summary>
 protected Database()
 {
     tranStack = new TransactionStack();
     dbScope   = new DatabaseScope(this);
     Track     = DefaultCommandTracker.Instance;
 }