Browse Source

Update CodeFirst

pull/18/head
sunkaixuan 3 years ago
parent
commit
49745f31ae
  1. 2
      Src/Asp.Net/SqlSugar/Abstract/EntityMaintenance/EntityMaintenance.cs

2
Src/Asp.Net/SqlSugar/Abstract/EntityMaintenance/EntityMaintenance.cs

@ -257,7 +257,7 @@ namespace SqlSugar
column.DbColumnName = sugarColumn.ColumnName.IsNullOrEmpty() ? property.Name : sugarColumn.ColumnName; column.DbColumnName = sugarColumn.ColumnName.IsNullOrEmpty() ? property.Name : sugarColumn.ColumnName;
column.IsPrimarykey = sugarColumn.IsPrimaryKey; column.IsPrimarykey = sugarColumn.IsPrimaryKey;
column.IsIdentity = sugarColumn.IsIdentity; column.IsIdentity = sugarColumn.IsIdentity;
column.ColumnDescription = sugarColumn.ColumnDescription; column.ColumnDescription = sugarColumn.ColumnDescription.ToSqlFilter();
column.IsNullable = sugarColumn.IsNullable; column.IsNullable = sugarColumn.IsNullable;
column.Length = sugarColumn.Length; column.Length = sugarColumn.Length;
column.OldDbColumnName = sugarColumn.OldColumnName; column.OldDbColumnName = sugarColumn.OldColumnName;

Loading…
Cancel
Save