NormalRelationshipEdge Class |
Namespace: SD.LLBLGen.Pro.ApplicationCore.EntityModel
The NormalRelationshipEdge type exposes the following members.
Name | Description | |
---|---|---|
NormalRelationshipEdge(EntityDefinition, EntityDefinition, Boolean) |
Initializes a new instance of the NormalRelationshipEdge class.
| |
NormalRelationshipEdge(EntityDefinition, EntityDefinition, EntityRelationshipType, Boolean) |
Initializes a new instance of the NormalRelationshipEdge class.
| |
NormalRelationshipEdge(EntityDefinition, EntityDefinition, EntityRelationshipType, String, String, Boolean) |
Initializes a new instance of the NormalRelationshipEdge class.
| |
NormalRelationshipEdge(EntityDefinition, EntityDefinition, EntityRelationshipType, String, String, Boolean, Boolean, Boolean, Boolean, ForeignKeyRuleAction, ForeignKeyRuleAction) |
Initializes a new instance of the NormalRelationshipEdge class.
|
Name | Description | |
---|---|---|
DeleteRuleAction |
Gets or sets the update rule action.
| |
EndEntityIsOptional |
Gets / sets the flag whether the end entity of the relationship is optional (true) or mandatory (false).
| |
EndEntityNavigator |
Gets / sets the field name mapped onto this relationship in the endEntity.
(Inherited from RelationshipEdge.) | |
EndEntityNavigatorValidator |
Gets the end entity navigator validator.
(Inherited from RelationshipEdge.) | |
EndVertex |
Gets the end vertex of the edge.
(Inherited from EdgeTVertex.) | |
EntityFkSide |
Gets the fk side entity.
| |
EntityPkSide |
Gets the pk side entity.
| |
Error |
Gets an error message indicating what is wrong with this object.
(Inherited from RelationshipEdge.) | |
FieldRelationships |
Gets the field relationships defined over this relationship.
| |
FkFieldsFormPkOfFkSide |
Gets a value indicating whether the fk fields form the pk of the fk side
| |
FullDescription |
Gets the full description of this relationship, to be used in textual representations of the relationhip in for example trees.
(Inherited from RelationshipEdge.) | |
FullDescriptionReverse |
Gets the full reverse description, so if FullDescription returns startentity 1:n endentity, this property returns endentity m:1 startentity
(Inherited from RelationshipEdge.) | |
FullNameForXml |
Gets the full name for XML.
| |
IsDirected |
Gets a value indicating whether this edge is directed. If true, the edge is directed from startVertex to endVertex and is seen as an edge only between
startVertex and endVertex, not between endVertex and startVertex. If false, this edge isn't considered a directed edge and is seen as an edge between
startVertex and endVertex and also between endVertex and startVertex.
(Inherited from EdgeTVertex.) | |
IsTargetPerEntityCandidate |
Gets a value indicating whether this instance is a target per entity inheritance relationship candidate. This is the case if
the relationship is a 1:1 relationship where the FK side's FK fields form the complete PK of the FK side.
| |
Item |
Gets the String with the specified column name.
(Inherited from RelationshipEdge.) | |
ModelOnly |
Gets or sets a value indicating whether this relationship is a 'model only' (true) relationship or a full relationship (false). Full relationships
require a foreign key constraint in the relational model data.
(Overrides RelationshipEdgeModelOnly.) | |
NavigatorFkSide |
Gets the navigator for the fk side.
| |
NavigatorPkSide |
Gets the navigator for the pk side.
| |
RelationshipType |
Gets / sets the type of the relationship.
(Inherited from RelationshipEdge.) | |
StartEntityIsOptional |
Gets / sets the flag whether the start entity of the relationship is optional (true) or mandatory (false).
| |
StartEntityIsPkSide |
Gets or sets a value indicating whether the start entity/vertex is the pk side.
| |
StartEntityNavigator |
Gets / sets the field name mapped onto this relationship in the startEntity.
(Inherited from RelationshipEdge.) | |
StartEntityNavigatorValidator |
Gets the start entity navigator validator.
(Inherited from RelationshipEdge.) | |
StartVertex |
Gets the start vertex of the edge.
(Inherited from EdgeTVertex.) | |
UniqueAssociationName |
Returns a unique association name. The name can be used using code generation if the whole model is consumed in 1 go to refer to associations.
Format: StartvertexFullName_EndVertexFullName_StartNavigator_EndNavigator. If both navigators are empty, Guid(N) is used instead of navigatornames, and
the format becomes StartvertexFullName_EndVertexFullName_Guid.
(Inherited from RelationshipEdge.) | |
UpdateRuleAction |
Gets or sets the update rule action.
|
Name | Description | |
---|---|---|
_member_ValueChangedTValue |
Handles the ValueChanged event of a member variable which is a commandifiedmember.
(Inherited from RelationshipEdge.) | |
AssignFkFieldToPkField |
Assigns the fk field to pk field in the fieldrelationships.
| |
CompareTo |
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from RelationshipEdge.) | |
ContainsFieldAsFkField |
Determines whether this relationship contains the specified field as an fk field
| |
DetermineIfEntityIsEqualToEndPoints |
Determines if the entity specified is equal to or a subtype of the start entity and end entity.
(Inherited from RelationshipEdge.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetCollectionNavigators |
Gets the collection navigators (0, 1 or 2) contained by this relationship, if applicable. A 1:1 relationship has 0 collection navigators,
a 1:n relationship 1 and a m:n relationship 2. Navigators which are empty are ignored, as they're not there.
(Inherited from RelationshipEdge.) | |
GetEndNavigatorAsObject |
Gets the end navigator string as Navigator object.
(Inherited from RelationshipEdge.) | |
GetEntityOnManySide |
Gets the entity on the 'm' or many side of the relationship. So if the relationship is a m:1 relationship, the start entity is returned. If the
relationship is a 1:1 relationship, null is returned.
| |
GetEntityOnOneSide |
Gets the entity on the '1' side of the relationship. So if the relationship is a m:1 relationship, the end entity is returned. if the
relationship is a 1:1 relationship, the start entity is returned.
| |
GetFieldRelationshipsToPopulate |
Gets the field relationships to populate, which are all field relationships which have no fk field set
| |
GetFkFieldAssignedToPkField |
Gets the fk field assigned to the pk field specified
| |
GetFkFieldsAsStringFromFkSide |
Gets the fk fields as string from fk side, sorted ascending on their related pk fields and delimited with a comma
| |
GetFkFieldsFromFkSide |
Gets the fk fields from the fk side which are based on this relationship.
| |
GetFullDescription |
Gets the full description of this relationship.
(Inherited from RelationshipEdge.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetPkFieldAssignedToFkField |
Gets the pk field assigned to the fk field specified
| |
GetPkFieldsAsStringFromPkSide |
Gets the pk fields as string from pk side, sorted ascending and delimited with a comma
| |
GetPkFieldsFromPkSide |
Gets the pk fields from pk side.
| |
GetPkFkFieldPairs |
Gets the pk field - fk field pairs. Value1 is Pk field, Value2 is Fk field
| |
GetSingleElementNavigators |
Gets the single element navigators (0, 1 or 2) contained by this relationship, if applicable. A 1:1 relationship has 2 single element navigators,
a 1:n relationship 1 and a m:n relationship 0. Navigators which are empty are ignored, as they're not there.
(Inherited from RelationshipEdge.) | |
GetStartNavigatorAsObject |
Gets the start navigator string as Navigator object.
(Inherited from RelationshipEdge.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUniqueConstraintFormedByFkSide |
Gets a new unique constraint object, based on the fields formed by the fk side. This method returns a value only if this relationship
is a 1:1 relationship and the FK side isn't the PK of the FK side.
| |
MarkElementAsChanged |
Marks the element as changed.
(Overrides RelationshipEdgeMarkElementAsChanged(RelationshipEdgeChangeType).) | |
MarkElementAsRemoved |
Marks this field as removed. This routine will raise INotifyAsRemoved.ElementRemoved
(Inherited from RelationshipEdge.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnRelationshipTypeChanged |
Called when the relationtype was changed. Called from command.
(Overrides RelationshipEdgeOnRelationshipTypeChanged.) | |
OnStartEntityIsPkSideChanged |
Called when the StartEntityIsPkSide flag changed.
(Overrides RelationshipEdgeOnStartEntityIsPkSideChanged.) | |
SerializeOutputSettingValues |
Serializes the output setting values for the start and end navigator
(Inherited from RelationshipEdge.) | |
SerializeToWriter |
Serializes the data in this class to the serializer passed in
(Overrides RelationshipEdgeSerializeToWriter(ISerializer).) | |
ToggleModelOnlyFlag |
Toggles the model only flag on this, if the relationship is a normal relationship as the model-only-ness of an indirect
relationship is readonly (as it's determined based on the modelonly flag of the contained relationships in the indirect relationship).
(Overrides RelationshipEdgeToggleModelOnlyFlag.) | |
ToString | (Overrides ObjectToString.) | |
ToStringReverse |
As ToString() but now the description is from the point of view of the end entity.
(Overrides RelationshipEdgeToStringReverse.) | |
UpdateFieldRelationships |
Updates the field relationships in this object with the elements specified.
| |
Validate |
Validates this instance.
(Overrides RelationshipEdgeValidate(Project).) |
Name | Description | |
---|---|---|
HasBeenChanged |
Raised when the implementing element has been changed
(Inherited from RelationshipEdge.) | |
HasBeenRemoved |
Raised when the implementing element has been removed from its container
(Inherited from RelationshipEdge.) | |
RelationEdgeChanged |
Event which is raised when the definition of this relationship edge has been changed. What has changed is enclosed inside the event args.
(Inherited from RelationshipEdge.) |
Name | Description | |
---|---|---|
IRelationshipEdgeFullDescription |
Gets the full description.
(Inherited from RelationshipEdge.) | |
IRelationshipEdgeLeftNavigator |
Gets the left navigator which is the navigator of the left side of the relationship.
(Inherited from RelationshipEdge.) | |
IRelationshipEdgeLeftQuantifierString |
Gets the left quantifier string for the relationship, e.g. if the relationshiptype is 1:n, the left quantifier is 1, the right quantifier is '*'
(Inherited from RelationshipEdge.) | |
IRelationshipEdgeLeftVertexFullName |
Gets the Full name of the left vertex of the relationship
(Inherited from RelationshipEdge.) | |
IRelationshipEdgeRelationshipType |
Gets the type of the relationship.
(Inherited from RelationshipEdge.) | |
IRelationshipEdgeRightNavigator |
Gets the right navigator, which is the navigator of the right side of the relationship.
(Inherited from RelationshipEdge.) | |
IRelationshipEdgeRightQuantifierString |
Gets the right quantifier string for the relationship, e.g. if the relationshiptype is 1:n, the left quantifier is 1, the right quantifier is '*'
(Inherited from RelationshipEdge.) | |
IRelationshipEdgeRightVertexFullName |
Gets the Full name of the right vertex of the relationship
(Inherited from RelationshipEdge.) |