Browse Source

update Src/Asp.Net/SqlSugar/ExpressionsToSql/Common/SugarParameter.cs.

pull/9/head
htking 3 years ago
committed by Gitee
parent
commit
82f6561397
  1. 6
      Src/Asp.Net/SqlSugar/ExpressionsToSql/Common/SugarParameter.cs

6
Src/Asp.Net/SqlSugar/ExpressionsToSql/Common/SugarParameter.cs

@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
@ -128,6 +128,10 @@ namespace SqlSugar
{
this.DbType = System.Data.DbType.Time;
}
else if (type.Name=="Geometry")
{
this.DbType = System.Data.DbType.Object;
}
else if (type!=null&&type.IsEnum())
{
this.DbType = System.Data.DbType.Int64;

Loading…
Cancel
Save