Dear usausa,
I want execute the query to return and can map to object like this:
public class Company
{
public int ID {get;set;}
public string Name {get;set;}
public IList<Staff> Staffs{get;set;}
}
public class Staff
{
public int ID {get;set;}
public string StaffName {get;set;}
}
Please guide me how to implement it
Thanks