Update oracle

This commit is contained in:
sunkaixuan
2022-03-25 13:30:45 +08:00
parent 58fe957b24
commit 28cd696af7

View File

@@ -1023,10 +1023,10 @@ namespace SqlSugar
{ {
try try
{ {
if (this.CurrentConnectionConfig.DbType == DbType.Oracle) //if (this.CurrentConnectionConfig.DbType == DbType.Oracle)
{ //{
throw new Exception("Oracle no support SaveQueues"); // throw new Exception("Oracle no support SaveQueues");
} //}
if (this.Queues == null || this.Queues.Count == 0) return default(T); if (this.Queues == null || this.Queues.Count == 0) return default(T);
isTran = isTran && this.Ado.Transaction == null; isTran = isTran && this.Ado.Transaction == null;
if (isTran) this.Ado.BeginTran(); if (isTran) this.Ado.BeginTran();