c# - How to get all the rows from a table -


how best way rows in table linq?

upfront have generated *.dbml file , created dbcontext.

just reference generated enumerable collection in context class:

var allrecords = context.sometable; 

Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -