Share via


EntityRef<TEntity> Members

Include Protected Members
Include Inherited Members

Provides for deferred loading and relationship maintenance for the singleton side of a one-to-many relationship.

The EntityRef<TEntity> type exposes the following members.

Constructors

  Name Description
Public method EntityRef<TEntity> Initializes a new instance of the EntityRef<TEntity> class.

Top

Methods

  Name Description
Public method Clone Creates a shallow copy of the EntityRef<TEntity>.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEntity Returns the entity that is wrapped by this EntityRef<TEntity> object.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SetEntity Sets the entity to which this EntityRef<TEntity> refers.
Public method ToString (Inherited from Object.)

Top

Events

  Name Description
Public event OnChanged Raised after a change to this EntityRef<TEntity> object.
Public event OnChanging Raised before a change to this EntityRef<TEntity> object.
Public event OnSync Raised when the EntityRef<TEntity> object is synchronized with the entity it represents.

Top

See Also

Reference

EntityRef<TEntity> Class

Microsoft.SharePoint.Linq Namespace