基于 .Net Framework与 EntityFramework
1 github地址:https://github.com/hcacha/EntityFramework.Extended
2 Nuget包命:EntityFramework.Extended.Async
3 使用方式:
Deleting
//delete all users where FirstName matches context.Users .Where(u => u.FirstName == "firstname") .DeleteAsync();
Update
context.Users.Where(u => u.FirstName == "firstname").UpdateAsync(u => new User {FirstName = "newfirstname"});