Loads and returns an array of objects for the specified primary key. Use this function to avoid specifying the boolean parameter that you must specify with the EntityLoad() function.
object
entityLoadByPK( entityName ,id) |
Parameter |
Description |
---|---|
entity name |
Name of the entity to be loaded. |
id |
Primary key id |
EntityLoad, EntityReload, EntityLoadByExample, EntityDelete, ColdFusion ORM chapter in Developing ColdFusion Applications
ColdFusion 9: Added this function.
<cfscript>
|
Sign in to your account