|
If a persistent CFC has no property, all table columns
are added as properties provided that the table exists and you have
specified it.
ExampleArtist.cfc component persistent="true" table="artists"
{
}
index.cfm <cfset artists = entityLoad("Artist")>
<cfdump var="#artists#">
The columns are fetched
only as column properties. Relationship, timestamp, or version field
are not added.
LimitationsIf the mapping
file for the CFC exists, then the properties are not added automatically.
In the case of inheritance, properties are not added to the
CFC automatically.
|
|
|