Click or drag to resize
EntityFieldSource Class
Class which represents an entity field in an entity, being used as the source of a field in a document
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ApplicationCore.DerivedModelEntityFieldSource

Namespace:  SD.LLBLGen.Pro.ApplicationCore.DerivedModel
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.3.0.0 (5.3.0)
Syntax
public class EntityFieldSource : IDocumentFieldSource, 
	INotifyAsChanged, INotifyAsRemoved

The EntityFieldSource type exposes the following members.

Constructors
  NameDescription
Public methodEntityFieldSource
Initializes a new instance of the EntityFieldSource class.
Top
Properties
  NameDescription
Public propertyContainingField
The field of which this instance is the document source.
Public propertyElementName
Name of the source, which is determined from the actual object implementing this interface.
Public propertySourceElement
Gets the source element.
Public propertySourceElementTypeAsString
Gets the source element type as string, which is e.g. the field type if this source represents a field, or 'entity' if it's an entity.
Public propertySourceField
Gets the source field.
Public propertySourceType
The type of source, e.g. multi element or single element or a field.
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.
(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.)
Public methodIsSame
Returns true if the passed in IDocumentFieldSource instance can be seen as a source originating from the same element. This means that even if the passed in element or this element has been changed, e.g. elementName has been changed, it will still return true if the original source is equal. This method is therefore different from 'Equals' which compares all elements.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSerializeToWriter
Serializes the source to the serializer specified.
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 eventHasBeenChanged
Raised when the implementing element has been changed
Public eventHasBeenRemoved
Raised when the implementing element has been removed from its container
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIDocumentFieldSourceCreateValidators
Creates validator objects for the source object, if required.
Explicit interface implementationPrivate methodIDocumentFieldSourceUpdateOutputSettingValuesContainerWithDefaults
Updates the output setting values container of this element (if applicable) with the defaults in the container specified.
Top
See Also