Browse Source

Synchronization code

pull/33/head
sunkaixuan 1 year ago
parent
commit
950e7fb63f
  1. 1
      Src/Asp.NetCore2/SqlSugar/Abstract/EntityMaintenance/EntityMaintenance.cs
  2. 1
      Src/Asp.NetCore2/SqlSugar/Entities/EntityColumnInfo.cs
  3. 1
      Src/Asp.NetCore2/SqlSugar/Entities/Mapping/SugarMappingAttribute.cs

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

@ -269,6 +269,7 @@ namespace SqlSugar
.Where(it => it is SugarColumn)
.Select(it => (SugarColumn)it)
.FirstOrDefault();
column.ExtendedAttribute = sugarColumn.ExtendedAttribute;
column.DbTableName = result.DbTableName;
column.EntityName = result.EntityName;
column.PropertyName = property.Name;

1
Src/Asp.NetCore2/SqlSugar/Entities/EntityColumnInfo.cs

@ -45,5 +45,6 @@ namespace SqlSugar
public bool InsertServerTime { get; set; }
public bool UpdateServerTime { get; set; }
public string UpdateSql { get; set; }
public object ExtendedAttribute { get; set; }
}
}

1
Src/Asp.NetCore2/SqlSugar/Entities/Mapping/SugarMappingAttribute.cs

@ -211,6 +211,7 @@ namespace SqlSugar
public string InsertSql { get; set; }
public bool UpdateServerTime { get; set; }
public string UpdateSql { get; set; }
public object ExtendedAttribute{ get; set; }
}

Loading…
Cancel
Save