zzzprojects / GraphDiff

GraphDiff is a library that allows the automatic update of a detached graph using Entity Framework code first.
https://entityframework-graphdiff.net/overview
MIT License
333 stars 101 forks source link

when calling GetPrimaryKeyFieldsFor function #166

Open progsherief opened 7 years ago

progsherief commented 7 years ago

dear, exception While trying to use context.UpdateGraph ex: context.UpdateGraph(UpdatedWF, map => map.OwnedCollection(x => x.contexts)); i have this error : ambiguos match found - when calling :GetPrimaryKeyFieldsFor function at return metadata.KeyMembers .Select(k => entityType.GetProperty(k.Name, BindingFlags.Instance | BindingFlags.NonPublic BindingFlags.Public)) .ToList(); line