Relationships
Entity relationships let you define an association between two entity types.
Relationships
One To One
property name="Contact"
fieldtype="one-to-one"
cfc="Contact";property name="Contact"
fieldtype="one-to-one"
cfc="Contact"
lazy="false";One To Many
component entityName="User" persistent="true"{
property name="posts"
fieldtype="one-to-many"
cfc="Post";
}Many To One
Many To Many
Singular Name
Lazy
Relationship Methods
Last updated
Was this helpful?