Synchronization code

This commit is contained in:
sunkaixuan
2024-08-08 14:05:37 +08:00
parent e66a76d7c3
commit 4fbfc05452
3 changed files with 13 additions and 0 deletions

View File

@@ -208,6 +208,11 @@ namespace SqlSugar
get; set;
}
public override byte Scale
{
get;set;
}
public int _Size;
public override int Size

View File

@@ -662,6 +662,10 @@ namespace SqlSugar
{
name = "IsNullOrEmpty";
}
if (model.Conext == null)
{
model.Conext = this.Context;
}
switch (name)
{
case "IIF":

View File

@@ -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;