Click or drag to resize
FieldRelationship Class
Class which represents the relationship between a fieldelement which is seen as the foreign key field and a fieldelement which is seen as the primary key (identifying field) field. A FieldFieldRelationship is tied to the IdentifyingField (pkfield) specified and a normal relationship. If either of these two no longer exists or is no longer valid (field is no longer an identifying field for example) the FieldFieldRelationship instance will mark itself as deleted and will signal observers to threat it as such.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ApplicationCore.EntityModelFieldRelationship

Namespace:  SD.LLBLGen.Pro.ApplicationCore.EntityModel
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
public class FieldRelationship : INotifyPropertyChanged, 
	INotifyAsChanged, INotifyAsRemoved, ISerializableToXml

The FieldRelationship type exposes the following members.

Constructors
  NameDescription
Public methodFieldRelationship(IIdentifyingField, NormalRelationshipEdge)
Initializes a new instance of the FieldRelationship class.
Public methodFieldRelationship(IIdentifyingField, NormalRelationshipEdge, FieldElement)
Initializes a new instance of the FieldRelationship class.
Top
Properties
  NameDescription
Public propertyFkField
Gets or sets the fk field.
Public propertyFullDescription
Gets the full description.
Public propertyFullDescriptionReverse
Gets the full description, reversed (from the pk sides pov)
Public propertyPkField
Gets the pk field.
Top
Methods
  NameDescription
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSerializeToWriter
Serializes the data in this class to the serializer passed in
Public methodToString
Returns a String that represents the current Object.
(Overrides ObjectToString.)
Top
Events
  NameDescription
Public eventFkFieldOptionalityChanged
Raised when the fk field's optionality has changed.
Public eventHasBeenChanged
Raised when the implementing element has been changed
Public eventHasBeenRemoved
Raised when the implementing element has been removed from its container
Public eventPropertyChanged
Occurs when a property value changes. (INotifyPropertyChanged)
Top
See Also