mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 13:34:32 +08:00
Update Demo
This commit is contained in:
parent
dfe64ad381
commit
90fe8ddac6
@ -44,7 +44,7 @@ namespace OrmTest
|
|||||||
IsRemind = saveDiary.IsRemind,
|
IsRemind = saveDiary.IsRemind,
|
||||||
}).Where(it => it.ID == saveDiary.ID).ToSql();
|
}).Where(it => it.ID == saveDiary.ID).ToSql();
|
||||||
UValidate.Check(sql.Key, @"UPDATE [Diary] SET
|
UValidate.Check(sql.Key, @"UPDATE [Diary] SET
|
||||||
[IsRemind] = @Const1 WHERE ( [ID] = @ID2 )", "Updateable");
|
[IsRemind] = @Const0 WHERE ( [ID] = @ID1 )", "Updateable");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user