Closed ehsmohammadi closed 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
by changing relation auto migration cannot do the job well and we must delete all database table in server then publish our project
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