Loads and returns an array of objects that match the sampleentity .The filter criteria is constructed by ANDing all the non-null properties of the sampleentity .
Array of objects
| EntityLoadByExample(sampleEntity,[unique=false,matchCriteria=""]) |
ColdFusion 9: Added this function.
Parameter |
Description |
|---|---|
sampleentity |
Name of the sample entity that is used to match and filter similar entities to load. |
<cfset employee= CreateObject("component", "employee")>
|
Sign in to your account