ReferencedElement Class |
Namespace: SD.LLBLGen.Pro.ApplicationCore.DerivedModel
The ReferencedElement type exposes the following members.
Name | Description | |
---|---|---|
ReferencedElement(ReferencedEntity) | Initializes a new instance of the ReferencedElement class | |
ReferencedElement(ReferencedEntity, ReferencedValueType) | Initializes a new instance of the ReferencedElement class |
Name | Description | |
---|---|---|
CombinedPathAsString |
Gets the combined path as string. It concats the path of the referenced entity before the valuetype's concatenated with a '.'. If no valuetype is specified,
it will only return the referenced entity's path.
| |
CombinedPathLength |
Gets the length of the combined path of referenced entity and referenced valuetype.
| |
ElementGroupName |
Gets the name of the group the outer element is in.
| |
ElementName |
Gets the element name for presentation purposes. This is either the name of the last navigator (or entity name if no navigator present) if no valuetype is present
or in case a valuetype is specified the name of the last field, if any, otherwise the name of the valuetype.
| |
NoEntity |
Gets a value indicating whether the referenced entity part is empty or not defined
| |
NoValueType |
Gets a value indicating whether the referenced valuetype part is empty or not defined
| |
OuterReferencedElementFullName |
Gets the name of the outer referenced element, which is the valuetype, if specified, otherwise the entity.
| |
PathAsString |
Gets the full path of the outerreferenced element, which is either the path of the referenced entity if no valuetype is specified, otherwise it's the
referenced entity path + . + the referenced valuetype path.
| |
ReferencedEntity |
Gets the referenced entity instance part.
| |
ReferencedValueType |
Gets the referenced valuetype instance part.
| |
SourceElementTypeAsString |
Gets the source element type as string, which is e.g. the field type if this source represents a field, or the full name of the entity or valuetype
|
Name | Description | |
---|---|---|
BindEvents | ||
Clone |
Clones this instance using deep cloning, except elements in the entity model, which are shallow cloned.
| |
CreateEmbeddedDocumentName |
Creates the name for an embedded document.
If a valuetype is specified: It uses the last field of the path to the valuetype and uses that name.
If a valuetype isn't specified: It uses the last navigator of the path and uses that name if the element is a single element. If the
element represents a list / set of elements, it will singularize the name.
| |
Equals |
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(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.) | |
GetCombinedPathAsStringExcludingStartPath |
Gets the combined path as string, excluding start path (if specified).
| |
GetHashCode |
Serves as the default hash function.
(Overrides ObjectGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SerializeToWriter |
Serializes the data in this class to the serializer passed in
| |
ToString |
Returns a string that represents the current object.
(Overrides ObjectToString.) | |
UnbindEvents |
Name | Description | |
---|---|---|
ContainedStringPropertyChanged |
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.
| |
EntityChanged |
Raised when a value inside the entity this referenced entity is referencing has been changed. This event contains the information about the particular change.
| |
HasBeenChanged |
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.
| |
HasBeenRemoved |
Raised when the implementing element has been removed from its container
| |
ValueTypeChanged |
Raised when a value inside the valuetype this referenced valuetype is referencing has been changed. This event contains the information about the particular change.
|