Using Linq To Sql/Entities we have enough flexibility to write select queries
But what about update queries.
What if i need to do something simple like that:
UPDATE suppliers
SET supplier_name = (SELECT customers.name
FROM customers
WHERE customers.customer_id = suppliers.supplier_id)
Using Linq to Sql i need to run a lot of update queries to get ti done. First i need to select the entity which i need to update and then i need to update each of them, seams to be very slow.
Is there any way to make it simple, or there is only store procedure mapping may help in such case?