示例#1
0
        public EFCoreTransactionObject(IDbContextTransaction dbContextTransaction)
        {
            CheckValue.NotNull(dbContextTransaction, nameof(dbContextTransaction));

            ID = Guid.NewGuid();
            TransactionType = dbContextTransaction.GetType();

            _efCoreTransaction = dbContextTransaction;
        }