mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Add demo
This commit is contained in:
parent
fc86ea4e00
commit
0ffc5a4b9a
@ -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)]
|
||||||
|
Loading…
Reference in New Issue
Block a user