c# - Saving List<KeyValuePair to a DB with EF 4.3 -


I have an information that is related to my logical unit class, which is list & lt; KeyValuePair & lt; Int, string & gt; & Gt; .

How do I correctly reflect this in my EF code to save the data in the database in the first institutions classes?

When your listing organizations can do one more object, it resolved as one relationship from one to another can go. Therefore, there will be two relationships with two tables in this database.

So you can add parent to parent bodies

  car car = new car (); Car.Parts.Add (new part ());   

Where a car parts are a navigation property, it defines one in relation to several parts

Good luck!

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -