I have SQLCommand below but instead of writing SQL text inside method I would like to write entire SQL command in Linq to prevent Entities mismatch if POCO models are changed.
Database.ExecuteSqlCommand("UPDATE [Order] SET [Credits] = @Credits WHERE [Id] = @Id",
new SqlParameter("Credits", remainingCredits),
new SqlParameter("Id", order.Id));