Add Check

This commit is contained in:
sunkaixuan 2019-04-04 22:47:12 +08:00
parent 3a819c2416
commit ad2a548d4d

View File

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