EntityRef<'TEntity> Structure
Provides for deferred loading and relationship maintenance for the singleton side of a one-to-many relationship in a LINQ to SQL application.
Assembly: System.Data.Linq (in System.Data.Linq.dll)
| Name | Description | |
|---|---|---|
![]() | EntityRef<'TEntity>('TEntity) | Initializes a new instance of the EntityRef<'TEntity> class by specifying the target entity. |
![]() | EntityRef<'TEntity>(EntityRef<'TEntity>) | Initializes a new instance of the EntityRef<'TEntity> class by referencing the target entity. |
![]() | EntityRef<'TEntity>(IEnumerable<'TEntity>) | Initializes a new instance of the EntityRef<'TEntity> class by specifying the source. |
| Name | Description | |
|---|---|---|
![]() | Entity | Gets or sets the target entity. |
![]() | HasLoadedOrAssignedValue | Gets a value that indicates whether the target has been loaded or assigned. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Indicates whether this instance and a specified object are equal.(Inherited from ValueType.) |
![]() | GetHashCode() | Returns the hash code for this instance.(Inherited from ValueType.) |
![]() | GetType() | |
![]() | ToString() | Returns the fully qualified type name of this instance.(Inherited from ValueType.) |
This class is used in combination with EntitySet<'TEntity>.
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.jpeg?cs-save-lang=1&cs-lang=fsharp)
.jpeg?cs-save-lang=1&cs-lang=fsharp)