mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 02:29:39 +08:00
Update demo
This commit is contained in:
@@ -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 };
|
||||
|
Reference in New Issue
Block a user