mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-24 08:33:16 +08:00
Add demo
This commit is contained in:
@@ -52,6 +52,13 @@ namespace OrmTest
|
||||
))
|
||||
.ToList();
|
||||
db.DbMaintenance.AddColumnRemark("Id", "DBO.Order", "a");
|
||||
|
||||
var cats =new List<Cat>() {
|
||||
new Cat { Name = "x", Color = "Gray" },
|
||||
new Cat { Name = "y", Color = "Gray" }
|
||||
};
|
||||
db.Insertable(cats).ExecuteCommand();
|
||||
db.Updateable(cats).ExecuteCommand();
|
||||
}
|
||||
}
|
||||
[SugarTable("Animal",IsDisabledDelete =true)]
|
||||
|
||||
Reference in New Issue
Block a user