SHOW:
|
|
- or go back to the newest paste.
| 1 | var Query = ( | |
| 2 | from s in Context.Servers | |
| 3 | from c in Context.Contacts | |
| 4 | where s.PrimaryContactID == c.ContactID | |
| 5 | - | select s.ServerName, s.Server |
| 5 | + | select new |
| 6 | {
| |
| 7 | s.ServerName, | |
| 8 | s.PrimaryContactID, | |
| 9 | s.ServerLocation, | |
| 10 | s.ServerType, | |
| 11 | s.IsLocked, | |
| 12 | c.Name | |
| 13 | } | |
| 14 | ); |