EF5 incrementing Unique ID without calling savechanges until user request to save
问题 How do one add multiple items to a table and child tables based on the parent table unique id in child table without calling save changes every time you add a row, only when the user click on the save button changes must be committed 回答1: It depends on the way how you defined your entities. If you are using independent associations it will simply work. If you are using foreign key associations you will have to use temporary keys for principal entities and set them to foreign key properties in