public EFCoreTransactionObject(IDbContextTransaction dbContextTransaction) { CheckValue.NotNull(dbContextTransaction, nameof(dbContextTransaction)); ID = Guid.NewGuid(); TransactionType = dbContextTransaction.GetType(); _efCoreTransaction = dbContextTransaction; }