Hi Otis,
Anyway to get a Unique ID from a new entity object (i.e not saved yet -so No PK available)
I looked at entity.gethashcode and entity.fields.gethashcode but they both return Zero for a new object
Refmanual doc/GetHashCode : Overrides the GetHashCode routine. It will calculate a hashcode for this entity using the eXclusive OR of the hashcodes of the primary key fields in this entity. That hashcode is returned. If no primary key fields are present, the hashcode of the base class is returned, which will not be unique.
It would be very handy if every object created got a unique ID that could be used to identify the object eventhough it is "new"
As an alternative - would it be possible make a Tag property (type : object) available on all entities (like on forms and form controls)
This would allow the developer attach various info to the entity and in my present case stamp new items with an intermediate ID untill the entity is saved
...IT