Thursday, November 17, 2011

How to do Select All(*) in linq to sql

Using Simple Linq.

from row in context.TableA 
select row;




Using Linq Lembda expression



context.TableA.Select(row=>row);

No comments :

Post a Comment