[m6] ORM Question

I have a few questions:

I’m using ORM in my new project and I’d like to get a better grip on the subject.

Does this sound right?

I create an entity for each object I want to interact with. e.g., Entity.cfc: component persistent=“true” table=“entities”

If I want to use ORM, I have two options. I can use BaseORMService to obtain an object of type “entity” or I can extend VirtualEntityService to make an EntityService that will have all convenience methods for interacting with all of my Entities in the database.

How does the CF9 ORM support relate to this approach? Are there any tricks or gotchas that I should look out for?

-Ben

Hi Ben,

I would suggest to read about VirtualEntityService docs
http://wiki.coldbox.org/wiki/Extras:VirtualEntityService.cfm

As this layer provide some cool features for rapid development.

Thanks
Sana