mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Synchronization code
This commit is contained in:
@@ -208,6 +208,11 @@ namespace SqlSugar
|
||||
get; set;
|
||||
}
|
||||
|
||||
public override byte Scale
|
||||
{
|
||||
get;set;
|
||||
}
|
||||
|
||||
public int _Size;
|
||||
|
||||
public override int Size
|
||||
|
@@ -662,6 +662,10 @@ namespace SqlSugar
|
||||
{
|
||||
name = "IsNullOrEmpty";
|
||||
}
|
||||
if (model.Conext == null)
|
||||
{
|
||||
model.Conext = this.Context;
|
||||
}
|
||||
switch (name)
|
||||
{
|
||||
case "IIF":
|
||||
|
@@ -182,6 +182,10 @@ namespace SqlSugar
|
||||
{
|
||||
sqlParameter.SqlDbType = ((SqlDbType)parameter.CustomDbType);
|
||||
}
|
||||
if (sqlParameter.Direction == ParameterDirection.Output && parameter.Scale > 0)
|
||||
{
|
||||
sqlParameter.Scale = parameter.Scale;
|
||||
}
|
||||
++index;
|
||||
}
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user