Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var departments = ctx.Departments.Select(d => new
- {
- Id = d.Id
- Name = d.Name,
- Properties = ctx.DepartmentProperties.Where(p => p.Id == d.Id).Select(p => p.PropertyValue)
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement