Click or drag to resize

EntityRelation Constructor (IEntityField2, IEntityField2, RelationType)

CTor

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public EntityRelation(
	IEntityField2 primaryKeyField,
	IEntityField2 foreignKeyField,
	RelationType typeOfRelation
)

Parameters

primaryKeyField
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityField2
The IEntityField2 instance which represents the primary key in the relation
foreignKeyField
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityField2
The IEntityField2 instance which represents the foreign key in the relation
typeOfRelation
Type: SD.LLBLGen.Pro.ORMSupportClassesRelationType
The type of relation this instance represents
Remarks
Adapter specific
See Also