Lucee Function Reference


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


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


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.