Click or drag to resize

ReferencedEntity Class

Class which represents a referenced entity in a derived model element.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ApplicationCore.DerivedModelReferencedEntity

Namespace:  SD.LLBLGen.Pro.ApplicationCore.DerivedModel
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public class ReferencedEntity : INotifyAsRemoved, 
	INotifyAsChanged

The ReferencedEntity type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyEntity
Gets the entity represented by this instance.
Public propertyLastNavigator
Gets the last navigator in the path of this referenced entity, if any, otherwise null.
Public propertyPath
Gets the path elements, which is the path from the containing entity (if any) to the entity represented by this instance. Can be null, in which case this referenced entity has no root entity
Top
Methods
  NameDescription
Public methodBindEvents
Binds the event handlers of contained elements.
Public methodClone
Clones this instance using deep cloning. It doesn't clone elements referenced from the entity model. There it uses shallow clone.
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 methodGetFirstIdentifyingField
Will return the first (according to field ordering) identifying field of the entity definition of this instance.
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 methodSerializeToWriter
Serializes the data in this class to the serializer passed in
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodUnbindEvents
Unbinds the event handlers of contained elements.
Top
Events
  NameDescription
Public eventContainedStringPropertyChanged
Event which is raised when a string based member of this object has been changed. Which string based member and its old/new value is enclosed in the event args.
Public eventEntityChanged
Raised when a value inside the entity this referenced entity is referencing has been changed. This event contains the information about the particular change.
Public eventHasBeenChanged
Event which is raised when a contained element has been changed. For observers it's not important which one, they have to re-examine the path for their own requirements to see whether it's still valid.
Public eventHasBeenRemoved
Raised when the implementing element has been removed from its container
Top
See Also