Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method should be overridden to get the entity key of the specified entity.
Namespace: System.Web.Http.OData
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
protected internal virtual TKey GetKey(
TEntity entity
)
public protected:
virtual TKey GetKey(
TEntity entity
)
abstract GetKey :
entity:'TEntity -> 'TKey
override GetKey :
entity:'TEntity -> 'TKey
Protected Friend Overridable Function GetKey (
entity As TEntity
) As TKey
Parameters
entity
Type: TEntityThe entity.
Return Value
Type: TKey
The entity key value
See Also
AsyncEntitySetController<TEntity, TKey> Class
System.Web.Http.OData Namespace
Return to top