cryo75

Results 15 comments of cryo75

I used HasOptional(c => c.Address).WithRequired(). However, it doesn't work because the address is now not being set in the customer although the correct SQL statement is being used.

This issue is still not solved. Could it be because I'm not using EF's default naming conventions?

This is not a GraphDiff problem but most probably something wrong with your entity configuration. How does your fluent API look like?

How are you mapping the properties to the columns? And where is the Person_id column? In Person on in WorkItem?

So you have Person_Id and Creator_Id in the workitems table? Am I understanding correctly? And why do you want 2 foreign keys pointing to the same table? I usually do...

This is EF-related. I guess you will need another Person property (Owner) in your WorkItem because Creator will always be the same as Person.

Can you set up a sample project, zip it and attach it here so I can have a look at it.

I noticed. I'm getting the same Id's when using GraphDiff. Trying to see what the problem is.

After this fix, on inserting of new entities, the associated entities are still being loaded again before saving the graph. The code where the loading happens is located here: `AssociatedEntityGraphNode.Update()`...

I have the following: ` public class AddressDto() { public int Id {get; set;} public PostCodeDto {get; set;} } ``` public class AddressModel() { public int Id {get; set;} public...