This project has moved. For the latest updates, please go here.

Object as rowkey

Aug 15, 2014 at 8:42 PM
Hi! i wanted to know if Lucifure supports the use of objects as rowkey (maybe using the hashcode, o some annotated property on the object)?
Coordinator
Aug 15, 2014 at 10:59 PM
Yes, i think that is possible, although a hash value would not be very practical since you may be able to get the hash value of an object for storage but be unable to convert the hash value back to the object on retrieval.

Take a look at tutorial 09.CompositeKeys. You will need to write some morphing code ...