How to get records using LINQ programmatically?

Posted by SheoNarayan under LINQ category on | Views : 6532
Write code like this

// LINQ Object
DataFocusGroupClassesDataContext data = new DataFocusGroupClassesDataContext();
// write LINQ statement, here Users is the name of the database table
var focusGroups = from fg in data.Users
select fg;

Comments or Responses

Login to post response