Hi -I have 2 entities -Offer and Share. Share stores the offers shared by users.
class Offer
int IDOffer;
bool Shared;
(other properties)
class Share
int IDOffer;
int IDUser;
where Offer.IDOffer = Share.IDOffer, 1-to-1 (users may share an offer only once, or not at all).
I extended Offer with the Shared property -it's not in the database but in the entity.
Now I need to select Offers and set Offers.Shared based on the Share entity.
Could you point me the right way? I appreciate your help.