Add Obsolete

This commit is contained in:
sunkaixuan
2022-03-26 23:00:03 +08:00
parent 22ce44dcaa
commit 382f5262c9
3 changed files with 8 additions and 2 deletions

View File

@@ -30,6 +30,8 @@ namespace OrmTest
}
});
//insert or update
var x1 = db.Storageable<Order>(new Order() { Id = 1, Name = "jack" }).ExecuteUpdateOrInsert();
//insert or update
var x= db.Storageable<Order>(new Order() { Id=1, Name="jack" }).ToStorage();