Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void IncreasePrices(BookShopContext context)
- {
- //Not working in Judge, working locally
- context.Books.Where(x => x.ReleaseDate.Value.Year < 2010)
- .Update(x => new Book { Price = x.Price + 5 });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement