EntityReference<TEntity>.Value Property

 

Gets or sets the related object returned by this EntityReference<TEntity>.

Namespace:   System.Data.Objects.DataClasses
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public TEntity Value { get; set; }

Property Value

Type: TEntity

The object returned by this EntityReference<TEntity>.

No value will be assigned if the value being set is the same as the current value.

.NET Framework
Available since 3.5
Return to top
Show: