Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT *
- from c in data.Customers
- select c
- from c in data.Customers
- select new
- {
- c.FirstName,
- c.LastName,
- c.Email
- }
- from c in data.Customers
- join o in data.Orders on c.CustomerId equals o.CustomerId
- select new
- {
- Name = c.FirstName + " " + c.LastName,
- Email = c.Email,
- Date = o.DateSubmitted
- }
Add Comment
Please, Sign In to add comment