mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
update Src/Asp.Net/SqlSugar/ExpressionsToSql/Common/SugarParameter.cs.
This commit is contained in:
parent
85fdcb11e9
commit
82f6561397
@ -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…
Reference in New Issue
Block a user