EntityNew

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

EntityNew( entityName [, properties ] )

Returns: any

Argument Description
entityName
string, required

Name of the instance being created.

properties
struct, optional

a struct containing data to populate the entity properties.

Examples

obj = EntityNew("test",{col1:'test3',col2:'test4'});
  result = EntityLoadByExample(obj,true);

See also