mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-04 20:57:58 +08:00
Update db.DynamicBuilder() bug
This commit is contained in:
parent
63315435ca
commit
c57a0bb984
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user