ehsmohammadi / BTE.RMS

Relaxation management system
1 stars 0 forks source link

Problem in remove orphan data in one to one and one to many relation ship #29

Closed ehsmohammadi closed 8 years ago

ehsmohammadi commented 8 years ago

Resolved by this link solution 2 http://www.kianryan.co.uk/2013/03/orphaned-child/ and for reminder by this linke for relationship http://www.entityframeworktutorial.net/code-first/configure-one-to-one-relationship-in-code-first.aspx

ehsmohammadi commented 8 years ago

by changing relation auto migration cannot do the job well and we must delete all database table in server then publish our project