NormalRelationshipEdge Constructor (EntityDefinition, EntityDefinition, EntityRelationshipType, String, String, Boolean, Boolean, Boolean, Boolean, ForeignKeyRuleAction, ForeignKeyRuleAction) |
Namespace: SD.LLBLGen.Pro.ApplicationCore.EntityModelAssembly: SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.0.0.0 (5.0.0)
Syntaxpublic 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.EntityModel.EntityDefinition
The start node. - endEntity
- Type: SD.LLBLGen.Pro.ApplicationCore.EntityModel.EntityDefinition
The end node. - relationshipType
- Type: SD.LLBLGen.Pro.ApplicationCore.EntityRelationshipType
Type of the relationship. - startEntityNavigator
- Type: System.String
The start entity navigator. - endEntityNavigator
- Type: System.String
The end entity navigator. - startEntityIsPkSide
- Type: System.Boolean
if set to true [start entity is pk side]. - startEntityIsOptional
- Type: System.Boolean
if set to true [start entity is optional]. - endEntityIsOptional
- Type: System.Boolean
if set to true [end entity is optional]. - modelOnly
- Type: System.Boolean
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.Core.ForeignKeyRuleAction
The update action rule. - deleteRuleAction
- Type: SD.LLBLGen.Pro.Core.ForeignKeyRuleAction
The delete action rule.
See Also