Update gbase

This commit is contained in:
sunkaixuan
2025-07-21 17:36:51 +08:00
parent 53270fbcd1
commit e940065883

View File

@@ -220,6 +220,8 @@ namespace SqlSugar.GBase
{
foreach (var param in parameters.OrderByDescending(it => it.ParameterName.Length))
{
if (param.Direction == 0)
param.Direction = System.Data.ParameterDirection.Input;
if ((sql.Contains(param.ParameterName) && UtilMethods.HasBigObjectParam(param)) ||
this.CommandType == CommandType.StoredProcedure)
{