Retrieve gets objects using attributes marked as primary keys.
eg <attribute name="a1" col="x" key="primary" />
Find gets objects using attributes marked as find attributes.
eg <attribute name="a2" col="y" find="true" />
This way you can have a primary key abstraction via GUIDs or OIDs, yet still provide a "user-friendly" method for getting objects (without needing to remember the GUID values).
-Richard
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
What's the diference between the find and the retrieve methods?
Thank you,
Andr Ribeiro
Retrieve gets objects using attributes marked as primary keys.
eg <attribute name="a1" col="x" key="primary" />
Find gets objects using attributes marked as find attributes.
eg <attribute name="a2" col="y" find="true" />
This way you can have a primary key abstraction via GUIDs or OIDs, yet still provide a "user-friendly" method for getting objects (without needing to remember the GUID values).
-Richard