refactorthis
refactorthis
@whimzyLive thanks for looking into this. I am also having this issue, currently using the layer workaround from @TheMechanic
They are actually different things. HasMany is a multiplicity, owned is an aggregate definition. http://stackoverflow.com/questions/1958621/whats-an-aggregate-root Associated means the entity is not a part of the aggregate to be updated, owned...
No it won't, it's quite possibly something we could add support for. Easy way out would be to wrap those ids with the entity and make that collection the association....
For instance create todos with only the id fields then add them to the collection of todos. If it's associated it won't update the value if the to-do, just the...
Yes you are correct CurrentValues is used. GraphDiff does expect a list of entities though, and not a list of primitives. I think this is a good candidate for extra...
Hey looks like there is something wrong with the line endings, are you able to commit with the proper line endings so I can see what has changed?
Is the Int set as the sole primary key in fluent api or data annotations? Can you show an example of the mappings & model?
The line you are updating must have the primary key specified. It doesn't make sense not to. If the entity was detached from the database it would have a primary...
Ah right I understand now, sounds like it could be useful and not very hard to implement. If you are willing to give it a go that would be great...
Hi marcusmiris, Thanks for the PR. I have put this off for the moment to work on higher priority tasks but I think GraphDiff definitely needs to support attached graphs....