Last post Feb 03, 2016 07:53 AM by Zhi Lv - MSFT
Feb 03, 2016 03:33 AM|angarato_surion|LINK
help i have a problem when i try to add a project(The model is called that way) in the
Database , created using code-first.
The exception occures in the Create method of this file ...
Also the Code of the model is https://github.com/angaratosurion/BlackOwl/blob/master/Projects/Models/Project.cs
any idea why it throws the following exception (http://pastebin.com/SkMne55h)?
It worked some weeks ago i did not touched anything ...
Feb 03, 2016 07:53 AM|Zhi Lv - MSFT|LINK
According to your model, it seems that you want to configure One-to-Many Or One-to-One relationship between
Project and ApplicationUser. If that is the case, I suggest you could refer to the following articles:
You could assign the foreign key.
Besides, here are some threads with the similar problem, you could refer to them: