how to use table tips in Linq to sql when calling the comment method
dataContext.table2.something = dataContext.table1.something; dataContext.SubmitChanges();
I want to use it like this sql code:
declare @var int; begin transaction select @var = something from table1 with (HoldLock); update table2 set something = @var; update table1 set something = @var + 1; commit transaction;
source share