Can my driver use a record directly

Topics: Writing modules
Mar 3, 2011 at 9:04 AM

Can my driver use a record directly instead of i.e. ContentPart<ProductPartRecord>.

I understand that it could be nice do decouple and flatten out 1n relations but if you are in a hurry in a customer project is it possble to use the record directly and decorate the record with

 [Required] etc.

Coordinator
Mar 15, 2011 at 5:25 AM

You need a part. Actually, it's the record that you could do without (but you'd lose persistence by doing so).