Browse Source

Merge pull request #940 from sy0574/SqlSugar5

实体类中,IsIgnore的字段也需要ColumnDescription等特性,增加赋值。
pull/5/MERGE
果糖网 3 years ago
committed by GitHub
parent
commit
eb4b003c1f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Abstract/EntityMaintenance/EntityMaintenance.cs

1
Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Abstract/EntityMaintenance/EntityMaintenance.cs

@ -203,6 +203,7 @@ namespace SqlSugar
{ {
column.IsIgnore = true; column.IsIgnore = true;
column.NoSerialize = sugarColumn.NoSerialize; column.NoSerialize = sugarColumn.NoSerialize;
column.ColumnDescription = sugarColumn.ColumnDescription;
} }
} }
if (this.Context.MappingColumns.HasValue()) if (this.Context.MappingColumns.HasValue())

Loading…
Cancel
Save