I am new to Entity Framework. I have a model as given below.

Since I need to access this from Silverlight I have added a DomainService
[EnableClientAccess()]
public class DomainService1 : LinqToEntitiesDomainService<TESTDBEntities>
{
public IQueryable<Lecture> GetLectures()
{
return this.ObjectContext.Lectures;
}
public IQueryable<ProjectGroup> GetProjectGroups()
{
return this.ObjectContext.ProjectGroups;
}
public IQueryable<Student> GetStudents()
{
return this.ObjectContext.Students;
}
}
I need to add a method to the domain service that returns List<Student> for a given project group id.
List<Student> GetStudentsByProject(int pgid)
OR
IQueryable<Student> GetStudentsByProject(int pgid)
Since this involves a join, I guess I have to change the Model.edmx as well as DomainService.cs file manually. How can I do this?