Update Demo

This commit is contained in:
sunkaixuan 2017-09-05 12:52:07 +08:00
parent c9bc2347e2
commit 5cd83c7f8b

View File

@ -58,6 +58,11 @@ namespace OrmTest.Demo
//Column is null no update
db.Updateable(updateObj).Where(true).ExecuteCommand();
var t12= db.Updateable<School>().AS("Student").UpdateColumns(it => new School() { Name = "jack" }).Where(it => it.Id == 1).ExecuteCommandAsync();
t12.Start();
t12.Wait();
}
}
}