This commit is contained in:
sunkaixuan 2022-11-14 20:00:43 +08:00
parent fc86ea4e00
commit 0ffc5a4b9a

View File

@ -47,6 +47,7 @@ namespace OrmTest
[SugarColumn(ColumnDescription = "绑定的角色ids", ColumnDataType = "int8[]", IsArray = true)] [SugarColumn(ColumnDescription = "绑定的角色ids", ColumnDataType = "int8[]", IsArray = true)]
public long[] RoleIds { get; set; } public long[] RoleIds { get; set; }
} }
[SugarIndex("{table}idindex",nameof(Id),OrderByType.Asc)]
public class CodeFirstTable1 public class CodeFirstTable1
{ {
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)] [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]