摘要: UserInfo user = from u in context.UserInfo where u.Id=343 select u;context.UserInfo.Remove(user); 用Remove()方法时,必须先从EF中查到才能删除UserInfo u... 阅读全文
posted @ 2018-06-14 17:49 dxm809 阅读(116) 评论(0) 推荐(0) 编辑