删除是最简单的了

var d = new DeleteSqlSection<RJ.DModel.Users>();
d.Where(a
=> a.U_Id ==10);
db.Delete(d);
DELETE FROM [Users] WHERE [U_Id] = @ptvd9ps6wuhpwsa
删除就没什么好说的了复杂的WHERE操作之后在说了
posted on 2011-06-18 16:33  [RJ]  阅读(296)  评论(0编辑  收藏  举报