|
ColdFusion 9.0 Resources |
EntityDeleteDescriptionDeletes the record from the database for the specified entity. Depending on the cascade attribute specified in the mapping, it deletes the associated objects also. CategoryFunction SyntaxEntityDelete(entity) See AlsoParametersentity: Name of the entity being deleted. Example<cfset employee = EntityLoad('employee', 100, true)>
<cfset EntityDelete(employee)>
<cfset employee = CreateObject('component', 'employee')>
<cfset employee.setEmployeeID(100)>
<cfset EntityDelete(employee)>
|