mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update db.DynamicBuilder() bug
This commit is contained in:
@@ -71,7 +71,8 @@ namespace SqlSugar
|
|||||||
attributeType.GetProperty(nameof(SugarColumn.OldColumnName)),
|
attributeType.GetProperty(nameof(SugarColumn.OldColumnName)),
|
||||||
attributeType.GetProperty(nameof(SugarColumn.SqlParameterDbType)),
|
attributeType.GetProperty(nameof(SugarColumn.SqlParameterDbType)),
|
||||||
attributeType.GetProperty(nameof(SugarColumn.SqlParameterSize)),
|
attributeType.GetProperty(nameof(SugarColumn.SqlParameterSize)),
|
||||||
attributeType.GetProperty(nameof(SugarColumn.IsArray))
|
attributeType.GetProperty(nameof(SugarColumn.IsArray)),
|
||||||
|
attributeType.GetProperty(nameof(SugarColumn.ColumnName))
|
||||||
}
|
}
|
||||||
, new object[] {
|
, new object[] {
|
||||||
sugarTable.IsPrimaryKey,
|
sugarTable.IsPrimaryKey,
|
||||||
@@ -90,7 +91,8 @@ namespace SqlSugar
|
|||||||
sugarTable.OldColumnName,
|
sugarTable.OldColumnName,
|
||||||
sugarTable.SqlParameterDbType,
|
sugarTable.SqlParameterDbType,
|
||||||
sugarTable.SqlParameterSize,
|
sugarTable.SqlParameterSize,
|
||||||
sugarTable.IsArray
|
sugarTable.IsArray,
|
||||||
|
sugarTable.ColumnName
|
||||||
});
|
});
|
||||||
return attributeBuilder;
|
return attributeBuilder;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user