Share via


AsyncEntitySetController<TEntity, TKey>.Get Method

This method should be overridden to handle GET requests that attempt to retrieve entities from the entity set.

Namespace:  System.Web.Http.OData
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public Overridable Function Get As Task(Of IEnumerable(Of TEntity))
'Usage
Dim instance As AsyncEntitySetController 
Dim returnValue As Task(Of IEnumerable(Of TEntity))

returnValue = instance.Get()
public virtual Task<IEnumerable<TEntity>> Get()
public:
virtual Task<IEnumerable<TEntity>^>^ Get()
abstract Get : unit -> Task<IEnumerable<'TEntity>> 
override Get : unit -> Task<IEnumerable<'TEntity>> 
public function Get() : Task<IEnumerable<TEntity>>

Return Value

Type: System.Threading.Tasks.Task<IEnumerable<TEntity>>
The matching entities from the entity set.

See Also

Reference

AsyncEntitySetController<TEntity, TKey> Class

Get Overload

System.Web.Http.OData Namespace