EntityReference<TEntity>.Value Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: