I have 2 tables (entities) like the following
NewsLetter
-------------------
Id
UserEmail
AgreeToReceiveNewsLetters
DateRegisted
Voucher
-------------------
Id
Code
IsActive
PromoText
CreatedDate
MaxDaysToRedeem
and a third reference table for many to many relationhip
NewsLetterVoucher
-------------------
Id
NewsLetter_id
Voucher_id
ValidFrom
ValidUntil
DateRedeemed
DateNotified
All is working good the the mappings for the many to many relationship working good The problem is that I want to have access in the entity model at the additional information that are stored in the reference table (ValidFrom , ValidUntil etc)
just like
NewsLetter.Voucher[0].ValidFrom
but ValidFrom is stored in the refenece table
How I can do that