Click or drag to resize

NodeEntityReference Class

Class which contains the data to set an entity reference found in an XmlNode to an entity instance. Instances of this class are used to store entity references found in an Xml tree in ReadXml() so these references can be set once the complete object tree is created and objects are known.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesNodeEntityReference

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public class NodeEntityReference

The NodeEntityReference type exposes the following members.

Constructors
  NameDescription
Public methodNodeEntityReference
Initializes a new instance of the NodeEntityReference class
Top
Properties
  NameDescription
Public propertyIsCollectionAdd
If set to true, this reference is not a property set but a collection add. Collection to add to is referenced by PropertyHoldingInstance
Public propertyObjectID
The ObjectID of the entity object to set as value of the ReferencingProperty
Public propertyPosition
The position in an entitycollection on which the node entity reference was encountered. Not valid if IsCollectionAdd is false.
Public propertyPropertyHoldingInstance
The instance holding the ReferenceingProperty.
Public propertyReferencingProperty
The property descriptor of the property to set to the instance with the ObjectID stored in ObjectID. When null, SetterFunc is used.
Public propertySetterFunc
The func to use for setting the destination for the entity. Used when ReferencingProperty is null.
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 methodSetEntity
Sets the entity reference.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also