NormalRelationshipEdge Constructor (EntityDefinition, EntityDefinition, EntityRelationshipType, String, String, Boolean, Boolean, Boolean, Boolean, ForeignKeyRuleAction, ForeignKeyRuleAction) |
Namespace:
SD.LLBLGen.Pro.ApplicationCore.EntityModel
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.7.0.0 (5.7.0)
Syntax public NormalRelationshipEdge(
EntityDefinition startEntity,
EntityDefinition endEntity,
EntityRelationshipType relationshipType,
string startEntityNavigator,
string endEntityNavigator,
bool startEntityIsPkSide,
bool startEntityIsOptional,
bool endEntityIsOptional,
bool modelOnly,
ForeignKeyRuleAction updateRuleAction,
ForeignKeyRuleAction deleteRuleAction
)
Public Sub New (
startEntity As EntityDefinition,
endEntity As EntityDefinition,
relationshipType As EntityRelationshipType,
startEntityNavigator As String,
endEntityNavigator As String,
startEntityIsPkSide As Boolean,
startEntityIsOptional As Boolean,
endEntityIsOptional As Boolean,
modelOnly As Boolean,
updateRuleAction As ForeignKeyRuleAction,
deleteRuleAction As ForeignKeyRuleAction
)
Parameters
- startEntity
- Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelEntityDefinition
The start node. - endEntity
- Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelEntityDefinition
The end node. - relationshipType
- Type: SD.LLBLGen.Pro.ApplicationCoreEntityRelationshipType
Type of the relationship. - startEntityNavigator
- Type: SystemString
The start entity navigator. - endEntityNavigator
- Type: SystemString
The end entity navigator. - startEntityIsPkSide
- Type: SystemBoolean
if set to [start entity is pk side]. - startEntityIsOptional
- Type: SystemBoolean
if set to [start entity is optional]. - endEntityIsOptional
- Type: SystemBoolean
if set to [end entity is optional]. - modelOnly
- Type: SystemBoolean
if set to true the relationship is considered 'model only' so it doesn't require a foreign key constraint in the
relational model data. - updateRuleAction
- Type: SD.LLBLGen.Pro.CoreForeignKeyRuleAction
The update action rule. - deleteRuleAction
- Type: SD.LLBLGen.Pro.CoreForeignKeyRuleAction
The delete action rule.
See Also