Class EntityInstanceContext<TEntityType>
An instance of EntityInstanceContext<TEntityType> gets passed to the self link ( EntitySetConfiguration.HasIdLink, EntitySetConfiguration.HasEditLink, EntitySetConfiguration.HasReadLink ) and navigation link ( EntitySetConfiguration.HasNavigationPropertyLink, EntitySetConfiguration.HasNavigationPropertiesLink ) builders and can be used by the link builders to generate links.
public class EntityInstanceContext<TEntityType> : EntityInstanceContext
Type Parameters
TEntityType
The entity type
- Inheritance
-
EntityInstanceContext<TEntityType>
- Inherited Members
Constructors
EntityInstanceContext()
Initializes a new instance of the EntityInstanceContext<TEntityType> class.
public EntityInstanceContext()
Properties
EntityInstance
Gets or sets the entity instance.
[Obsolete("Entity instance might not be available when the incoming uri has a $select. Use the EdmObject property instead.")]
public TEntityType EntityInstance { get; set; }
Property Value
- TEntityType