Click or drag to resize
NormalRelationshipEdge Methods

The NormalRelationshipEdge type exposes the following members.

Methods
  NameDescription
Protected method_member_ValueChangedTValue
Handles the ValueChanged event of a member variable which is a commandifiedmember.
(Inherited from RelationshipEdge.)
Public methodAssignFkFieldToPkField
Assigns the fk field to pk field in the fieldrelationships.
Public methodCompareTo
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.)
Public methodContainsFieldAsFkField
Determines whether this relationship contains the specified field as an fk field
Public methodDetermineIfEntityIsEqualToEndPoints
Determines if the entity specified is equal to or a subtype of the start entity and end entity.
(Inherited from RelationshipEdge.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCollectionNavigators
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.)
Public methodGetEndNavigatorAsObject
Gets the end navigator string as Navigator object.
(Inherited from RelationshipEdge.)
Public methodGetEntityOnManySide
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.
Public methodGetEntityOnOneSide
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.
Public methodGetFieldRelationshipsToPopulate
Gets the field relationships to populate, which are all field relationships which have no fk field set
Public methodGetFkFieldAssignedToPkField
Gets the fk field assigned to the pk field specified
Public methodGetFkFieldsAsStringFromFkSide
Gets the fk fields as string from fk side, sorted ascending on their related pk fields and delimited with a comma
Public methodGetFkFieldsFromFkSide
Gets the fk fields from the fk side which are based on this relationship.
Public methodGetFullDescription
Gets the full description of this relationship.
(Inherited from RelationshipEdge.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetPkFieldAssignedToFkField
Gets the pk field assigned to the fk field specified
Public methodGetPkFieldsAsStringFromPkSide
Gets the pk fields as string from pk side, sorted ascending and delimited with a comma
Public methodGetPkFieldsFromPkSide
Gets the pk fields from pk side.
Public methodGetPkFkFieldPairs
Gets the pk field - fk field pairs. Value1 is Pk field, Value2 is Fk field
Public methodGetSingleElementNavigators
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.)
Public methodGetStartNavigatorAsObject
Gets the start navigator string as Navigator object.
(Inherited from RelationshipEdge.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUniqueConstraintFormedByFkSide
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.
Protected methodMarkElementAsChanged
Marks the element as changed.
(Overrides RelationshipEdgeMarkElementAsChanged(RelationshipEdgeChangeType).)
Public methodMarkElementAsRemoved
Marks this field as removed. This routine will raise INotifyAsRemoved.ElementRemoved
(Inherited from RelationshipEdge.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnRelationshipTypeChanged
Called when the relationtype was changed. Called from command.
(Overrides RelationshipEdgeOnRelationshipTypeChanged.)
Protected methodOnStartEntityIsPkSideChanged
Called when the StartEntityIsPkSide flag changed.
(Overrides RelationshipEdgeOnStartEntityIsPkSideChanged.)
Protected methodSerializeOutputSettingValues
Serializes the output setting values for the start and end navigator
(Inherited from RelationshipEdge.)
Public methodSerializeToWriter
Serializes the data in this class to the serializer passed in
(Overrides RelationshipEdgeSerializeToWriter(ISerializer).)
Public methodToggleModelOnlyFlag
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.)
Public methodToString
Returns a String that represents the current Object.
(Overrides ObjectToString.)
Protected methodToStringReverse
As ToString() but now the description is from the point of view of the end entity.
(Overrides RelationshipEdgeToStringReverse.)
Public methodUpdateFieldRelationships
Updates the field relationships in this object with the elements specified.
Protected methodValidate
Validates this instance.
(Overrides RelationshipEdgeValidate(Project).)
Top
See Also