Guest User

Untitled

a guest
Apr 22nd, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.84 KB | None | 0 0
  1. Provider = (from ap in ef_Office.ProvidersAttending
  2.                                        where m.AttendingProviderID == ap.ProviderID
  3.                                        select new
  4.                                        {
  5.                                            ProviderID = ap.ProviderID,
  6.                                            FirstName = ap.FirstName,
  7.                                            LastName = ap.LastName,
  8.                                            SpecialtyID = ap.SpecialtyID,
  9.                                            Specialty = (from sp in ef_Office.Specialties
  10.                                                         where sp.SpecialtyID == ap.SpecialtyID
  11.                                                         select sp.Specialty).FirstOrDefault()
  12.                                        }).Take(1).FirstOrDefault(),
Add Comment
Please, Sign In to add comment