public List<Associate.Practice> GetPractice() { using (AssociateConnDataContext asscon = new AssociateConnDataContext()) { var practices = (from a in asscon.Get_Practice() select new Associate.Practice() { PracticeID = a.PracticeID, PracticeName = a.PracticeName }).ToList<Associate.Practice>(); return practices; } }