OzZy_M

Will this work?

Feb 15th, 2012
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.           var Query = (
  2.             from s in Context.Servers
  3.             from c in Context.Contacts
  4.             where s.PrimaryContactID == c.ContactID
  5.             select new
  6.             {
  7.               s.ServerName,
  8.               s.PrimaryContactID,
  9.               s.ServerLocation,
  10.               s.ServerType,
  11.               s.IsLocked,
  12.               c.Name
  13.             }
  14.           );
Advertisement
Add Comment
Please, Sign In to add comment