I try to create queries contained in Linq I want to be included in more than one field from a table
Table Please see your code below. I try to filter customerEventRoleRepository.Table with customer ID and eventID How can I do this in the question of joining? Please help. You have a Boolean comparison in your anonymous type definitions ... Section of the following: I do not see "models" defined anywhere, so I'm not sure it's going to work, but it should be enough to show that How many fields Works on the basis of - There are farms from one "side" to join each anonymous class.
join cstevntrle in _customerEventRoleRepository.Table on new {customer ID = customers.Id, eventID = model.Event.EventId} new {customer ID = cstevntrle.CustomerId, EventID = cstevntrle .eventId}
No comments:
Post a Comment