You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be very handy to use anonymous objects to create entities, especially ones with a blank id. Currently a blank node id must be explicitely created
Internally a new blank identitifier would be generated for the anonymous object and each property would be translated to the destination type. In this case the properties would have to match those of IAddress.
The question is how should the Name property be treated? After all it is possible that an entity already exists for the given Uri. Should the supplied values replace whatever values the already existed.
Activity
tpluscode commentedon Sep 23, 2014
Additionally it could be possible to declare an
Idproperty. If present it would be used instead of the generated blank node identified.The question is how should the Name property be treated? After all it is possible that an entity already exists for the given Uri. Should the supplied values replace whatever values the already existed.
tpluscode commentedon Sep 23, 2014
Lastly the
IEntityContextcould be extended to enable creating new entities in a concise way.Similarly to my previous comment it remains to be decided what should happen if the entity already exists.