Hi, I need to configure a conditional many-to-many relationship, and I'm hoping LLBLGen can handle it. I'm using LLBLGen v4.2 against Entity Framework 6.0.
Basically I have three tables in my database
Table Sites
(
SiteID int
)
Table Sites2Resources
(
SiteID int,
ResourceID int,
ResourceTypeID int
)
Table Journals
(
JournalID int
)
What I'd like is for the Sites entity to have a "Journals" navigation property. The kicker is in the Sites2Resources table, Basically Sites2Resources.ResourceID=Journals.JournalID when Sites2Resources.ResourceTypeID=2.
Is this configuration possible through the LLBLGen designer? Alternatively, is there a way I can modify the generated code to put in this condition?
Thanks for any help!
--Michael