コード例 #1
0
        public DataContextScope Begin(IsolationLevel isolationLevel)
        {
            DataContext.OpenConnection();
            DataContext.BeginTransaction(isolationLevel);

            return(this);
        }
コード例 #2
0
        public DataContextScope Begin(bool useTran)
        {
            DataContext.OpenConnection();
            if (useTran)
            {
                DataContext.BeginTransaction();
            }

            return(this);
        }