|
ColdFusion 9.0 Resources |
EntityLoadByExampleDescriptionLoads 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. ReturnsArray of objects CategoryFunction Syntaxentityloadbyexample(sampleentity [, unique]) See AlsoHistoryColdFusion 9: Added this function. Parameters
Example<cfset employee= CreateObject("component", "employee")>
<cfset employee.setDepartment("ColdFusion")>
<cfset employee.setCountry("USA")>
<cfset employee=EntityLoadByExample(employee)>
|