BokoGanga
Setting the id of an object to property in a nested Object on creation
Yes, I meant the QuestionId of the new QuestionText needs to be that of the newly created question. I am using EF but I didn't know it would assign the foreign key value automatically on creation. I will try that and see the results. Thanks for your answer
6 replies