Click or drag to resize

ObjectReferenceTReferencedObject Class

Represents a strongly typed object reference
Inheritance Hierarchy

Namespace:  Aloe.SystemFrameworks.Domain
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public abstract class ObjectReference<TReferencedObject> : ObjectReference
where TReferencedObject : EntityObject

Type Parameters

TReferencedObject
The type of the object being referenced. Only entity types can be referenced

The ObjectReferenceTReferencedObject type exposes the following members.

Constructors
  NameDescription
Public methodObjectReferenceTReferencedObject
Initializes a new instance of the ObjectReferenceTReferencedObject class.
Top
Properties
  NameDescription
Public propertyIsAggregateParent
Gets a value indicating whether this reference refers to the aggregate parent.
(Inherited from ObjectReference.)
Public propertyIsOwnership
Gets a value indicating whether the reference is an ownership reference, e.g. the referenced object is parent.
(Inherited from ObjectReference.)
Public propertyName
Gets the name of the reference
(Inherited from ObjectReference.)
Public propertyReferencedType
Gets the type of the referenced objects
(Overrides ObjectReferenceReferencedType.)
Top
Methods
  NameDescription
Public methodActivate
Activates the "active" behavior of the reference.
(Inherited from ObjectReference.)
Public methodChange
Sets the reference to the specified object
Public methodChangeUntyped
Sets the referenced object
(Inherited from ObjectReference.)
Public methodFilterTReferencingObjectType
Returns expression that filters the referencing objects for specific referenced id
(Inherited from ObjectReference.)
Public methodFilterBy(TReferencedObject, Boolean)
Returns filter search expression, filtering the referencing repository for specific referenced object
Public methodFilterBy(IEnumerableEntityObject, Boolean)
Returns filter search expression, filtering the referencing repository for the specific referenced objects
(Inherited from ObjectReference.)
Public methodFilterBy(EntityObject, Boolean)
Returns filter search expression, filtering the referencing repository for specific referenced object
(Overrides ObjectReferenceFilterBy(EntityObject, Boolean).)
Public methodFollow
Follows the reference and returns the strongly typed referenced object
Public methodFollowUntyped
Returns the referenced object for the specified referencing object
(Inherited from ObjectReference.)
Public methodGetOwnerChildCollection
Gets the owner child collection of objects that point to the owner with the current reference.
(Inherited from ObjectReference.)
Top
Fields
  NameDescription
Public fieldReferenceChanged
The reference changed event. Fired after the reference changes for an object.
(Inherited from ObjectReference.)
Top
See Also