Student ID 1 2 3 Person 1 Alex 2 John 4 Mary
1 Alex 2 John
var q1= Mystudententities.Student.Select(x=>x.ID).ToList(); var q2= Mystudententities.Person.Select(x=>new { ID=x.ID, Name=x.Name }).ToList();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)