You can use this line:
var products = (from prod in context.Products where prod.ProductCategoryID == myProductID select new Product(prod.PhoneNumber.ToLower(), prod.Name.ToUpper(), prod.Address.Trim()).ToList();
If you want to change your products directly in your context, do the following: make a specific function only in the product class. It will just be well designed.
(from prod in context.Products where prod.ProductCategoryID == myProductID select prod.MakeChange(myPhoneNumber, myName, myAddress);
As you can call this line of code, prod should be changed at LINQ.
source share