I am trying here to make a few left joins into a linq query but I'd say I rather have no idea how to materialize this idea.
Basically here is the 3 database structures I want to play with.
<tags>
id | name
<events_tags>
tag_id | event_id
<events>
id | name | some-other-fields
so for each events there is a one-to-many relation with tags, an event can then have one or more tags.
I'd like to know how to search an event based on a tag or how can I, based from an event id know the associated tags ?