Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function ENTITYNEW

Creates a new instance of the persistent CFC with the entity name that you provide.

Example

entitynew(string entityName,[struct properties]):any

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
entityName string  Yes Name of the instance being created.  
properties struct  No a struct containing data to populate the entity properties.