mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update demo
This commit is contained in:
parent
42a56874e0
commit
85f24f6594
@ -13,6 +13,8 @@ namespace OrmTest.Demo
|
||||
public static void Init()
|
||||
{
|
||||
var db = GetInstance();
|
||||
db.DbMaintenance.TruncateTable("student");
|
||||
|
||||
db.IgnoreColumns.Add("TestId", "Student");
|
||||
|
||||
var insertObj = new Student() { Name = "jack", CreateTime = Convert.ToDateTime("2010-1-1"), SchoolId = 1 };
|
||||
|
Loading…
Reference in New Issue
Block a user