Update demo

This commit is contained in:
sunkaixuan
2022-07-31 22:01:02 +08:00
parent 69573308b1
commit bc8b123624
3 changed files with 6 additions and 3 deletions

View File

@@ -8,7 +8,8 @@ namespace OrmTest
{
public class RootTable0
{
[SqlSugar.SugarColumn(IsPrimaryKey =true,IsIdentity =true)]
//不支持自增和主键 (标识主键是用来更新用的)
[SqlSugar.SugarColumn(IsPrimaryKey =true)]
public int Id { get; set; }
public string Name { get; set; }
[SqlSugar.SugarColumn(IsIgnore =true)]