• Auteur/autrice de la publication :
  • Post category:minder review

Many To several Mappings during the Entity Build

So far in my early in the day website listings, I have found goodness having linq to SQL once i travelling the way of migrating out-of linq to help you SQL so you’re able to entity construction. This is simply not in order to reject you to organization framework has also in addition to things and this cannot be overlooked. Among them try help for many to several relationship. Many to numerous dating is a thought that’s quite common in most Otherwise mappers thus one could question why it performed not allow on the services prepare launch getting sp1 to possess linq in order to SQL. I am certain Danny Simmons are certain to get a far greater treatment for so it concern than myself.

It’s more straightforward to explain the build due to an example. For-instance for those who have Employees and you can Systems. A member of staff is element of many tactics plus in a beneficial solitary investment there clearly was many teams participating. A scenario similar to this means a third dining table that tend to be relationship out-of one another tables. You to definitely dining table will be titled ProjectAssignment. Less than suggests how the database drawing turns out.

On significantly more than example, We have a desk entitled Teams, with most of the employees in the databases. (suite…)

Continuer la lectureMany To several Mappings during the Entity Build