Home  /  Questions  /  Question



0   0
Sep 14, 2015


Pattern In Action 4.5 > example DAO for many-to-many relations using EntityFramork

I have following tables using a many-to-many relationship:

- Contact
- ContactAdress
- Address

Now I want to prepare the dataobjects using Entity Framework. Can someone give me an example of how the AddresDao will look like for the Insert, Update, Delete and Select methods?