Update .NET

This commit is contained in:
sunkaixuan 2019-04-28 18:06:16 +08:00
parent 4d71e45906
commit 2b98357cf1

View File

@ -129,6 +129,10 @@ namespace SqlSugar
if (this.Value != null) if (this.Value != null)
this.Value = this.Value.ToString(); this.Value = this.Value.ToString();
} }
else if (type.IsEnum())
{
this.DbType = System.Data.DbType.Int64;
}
} }
public SugarParameter(string name, object value, bool isOutput) public SugarParameter(string name, object value, bool isOutput)