Update Demo

This commit is contained in:
sunkaixuan 2019-05-31 20:33:24 +08:00
parent c2c1a013d5
commit 0a84998755

View File

@ -40,6 +40,8 @@ namespace OrmTest
UValidate.Check(sql, "SELECT [Dc] AS [DcNull] , [Int] AS [Dc] FROM [UnitSelectTest]", "Queryable");
sql= Db.Updateable<UnitSelectTest2>(new UnitSelectTest2()).ToSql().Key;
UValidate.Check(sql, @"UPDATE [UnitSelectTest2] SET
[Dc]=@Dc,[IntNull]=@IntNull WHERE [Int]=@Int", "Queryable");
}