Share via


EntityRef<TEntity>.Entity Property

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Gets or sets the associated Entity.

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
Public Property Entity As TEntity
    Get
    Set
'Usage
Dim instance As EntityRef
Dim value As TEntity

value = instance.Entity

instance.Entity = value
public TEntity Entity { get; set; }
public:
property TEntity Entity {
    TEntity get ();
    void set (TEntity value);
}
member Entity : 'TEntity with get, set
function get Entity () : TEntity
function set Entity (value : TEntity)

Property Value

Type: TEntity
The associated entity.

See Also

Reference

EntityRef<TEntity> Class

System.ServiceModel.DomainServices.Client Namespace