EntityRelation Constructor (RelationType, Boolean) |
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax public EntityRelation(
RelationType typeOfRelation,
bool startEntityIsPkSide
)
Public Sub New (
typeOfRelation As RelationType,
startEntityIsPkSide As Boolean
)
Parameters
- typeOfRelation
- Type: SD.LLBLGen.Pro.ORMSupportClassesRelationType
The type of relation. - startEntityIsPkSide
- Type: SystemBoolean
Set to true if the start entity of the relation is the PK side of the relation. This is set in the generated code.
This property is true in 1:n relations and in 1:1 relations where the start entity is the PK side and the end entity is thus the
FK side. Required for determining which alias belongs to which entity.
See Also