Click or drag to resize

RelatedFieldElement Class

Class which is used to represent a related field element. A related field element is an IFieldElementCore instance with a normal relationship and a navigator specification. The element itself is immutable (no other elements can be placed inside the instance), the elements inside this element can have their properties changed, which is the reason this class implements INotifyPropertyChanged.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ApplicationCore.EntityModelRelatedFieldElement

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 class RelatedFieldElement : INotifyPropertyChanged, 
	INotifyAsChanged, INotifyAsRemoved

The RelatedFieldElement type exposes the following members.

Constructors
  NameDescription
Public methodRelatedFieldElement(IFieldElementCore, NormalRelationshipEdge, Boolean)
Initializes a new instance of the RelatedFieldElement class.
Public methodRelatedFieldElement(IFieldElementCore, NormalRelationshipEdge, Boolean, Boolean, Boolean)
Initializes a new instance of the RelatedFieldElement class.
Top
Properties
  NameDescription
Public propertyField
Gets the field.
Public propertyFieldAsString
Gets the field as string in the format: navigator.fieldname
Public propertyFieldAsStringForXml
Gets the field as string for XML.
Public propertyFieldType
Gets the type of the field.
Public propertyNavigatorUsed
Gets the navigator used.
Public propertyRelationshipUsed
Gets the relationship used.
Public propertyViaStartNavigator
Gets a value indicating whether the field is related via the start navigator of the relationship used
Top
Methods
  NameDescription
Public methodBindEvents
Binds the events. Call this routine if change notification by this instance is required
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Overrides ObjectEquals(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 a hash function for a particular type.
(Overrides ObjectGetHashCode.)
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 methodToString
Returns a String that represents the current Object.
(Overrides ObjectToString.)
Public methodUnbindEvents
Unbinds the events. Call this routine if BindEvents was called earlier on, so a related element isn't keeping this element into memory.
Top
Events
  NameDescription
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