Click or drag to resize

KeyReferenceTReferencingObject, TReferencedObject Class

Represents object reference, based on a foreign key attribute, referencing key attribute
Inheritance Hierarchy
SystemObject
  Aloe.SystemFrameworks.DomainObjectReference
    Aloe.SystemFrameworks.DomainObjectReferenceTReferencedObject
      Aloe.SystemFrameworks.DomainColumnReferenceTReferencingObject, TReferencedObject
        Aloe.SystemFrameworks.DomainKeyReferenceTReferencingObject, TReferencedObject

Namespace:  Aloe.SystemFrameworks.Domain
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public class KeyReference<TReferencingObject, TReferencedObject> : ColumnReference<TReferencingObject, TReferencedObject>, 
	IAttributeReference, ILazyProperty
where TReferencingObject : DomainObject
where TReferencedObject : EntityObject

Type Parameters

TReferencingObject
The type of the referencing object.
TReferencedObject
The type of object being referenced

The KeyReferenceTReferencingObject, TReferencedObject type exposes the following members.

Constructors
  NameDescription
Public methodKeyReferenceTReferencingObject, TReferencedObject(String, DataAttributeTReferencingObject, Guid, ExpressionFuncTReferencedObject, Guid, Boolean)
Initializes a new instance of the KeyReferenceTReferencingObject, TReferencedObject class.
Public methodKeyReferenceTReferencingObject, TReferencedObject(String, DataAttributeTReferencingObject, NullableGuid, ExpressionFuncTReferencedObject, Guid, Boolean)
Initializes a new instance of the KeyReferenceTReferencingObject, TReferencedObject class.
Top
Properties
Methods
  NameDescription
Public methodActivate
Activates the "active" behavior of the reference.
(Inherited from ObjectReference.)
Public methodChange
Sets the reference to the specified object
(Inherited from ObjectReferenceTReferencedObject.)
Public methodChangeUntyped
Sets the referenced object
(Inherited from ObjectReference.)
Public methodFilterTReferencingObjectType
Returns expression that filters the referencing objects for specific referenced id
(Inherited from ColumnReferenceTReferencingObject, TReferencedObject.)
Public methodFilterBy(TReferencedObject, Boolean)
Returns filter search expression, filtering the referencing repository for specific referenced object
(Inherited from ColumnReferenceTReferencingObject, TReferencedObject.)
Public methodFilterBy(IEnumerableEntityObject, Boolean)
Returns filter search expression, filtering the referencing repository for the specific referenced objects
(Inherited from ColumnReferenceTReferencingObject, TReferencedObject.)
Public methodFilterBy(EntityObject, Boolean)
Returns filter search expression, filtering the referencing repository for specific referenced object
(Inherited from ObjectReferenceTReferencedObject.)
Public methodFollow
Follows the reference and returns the strongly typed referenced object
(Inherited from ObjectReferenceTReferencedObject.)
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.)
Public methodToString
Returns a String that represents this instance.
(Overrides ColumnReferenceTReferencingObject, TReferencedObjectToString.)
Top
Fields
  NameDescription
Public fieldReferenceChanged
The reference changed event. Fired after the reference changes for an object.
(Inherited from ObjectReference.)
Top
See Also