- 增加 IInsert IgnoreInsertValueSql 方法临时忽略 InsertValueSql 设置;

This commit is contained in:
2881099
2023-03-30 15:15:26 +08:00
parent 598c9ee078
commit 486a05a3f7
12 changed files with 48 additions and 10 deletions

View File

@ -33,7 +33,7 @@ public class IdentityUser1
public int Id { get; set; }
[MaxLength(32)]
public string Username { get; set; }
[MaxLength(64)]
[MaxLength(64), Column(InsertValueSql = "'defaultname'")]
public string Nickname { get; set; }
}