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.
Sets the return type to a collection of EntityType instances.
Namespace: System.Web.OData.Builder
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public FunctionConfiguration ReturnsCollectionFromEntitySet<TElementEntityType>(
string entitySetName
)
where TElementEntityType : class
public:
generic<typename TElementEntityType>
where TElementEntityType : ref class
FunctionConfiguration^ ReturnsCollectionFromEntitySet(
String^ entitySetName
)
member ReturnsCollectionFromEntitySet<'TElementEntityType when 'TElementEntityType : not struct> :
entitySetName:string -> FunctionConfiguration
Public Function ReturnsCollectionFromEntitySet(Of TElementEntityType As Class) (
entitySetName As String
) As FunctionConfiguration
Parameters
entitySetName
Type: System.StringThe entitySetName which contains the returned EntityType instances
Return Value
Type: System.Web.OData.Builder.FunctionConfiguration
Returns FunctionConfiguration.
Type Parameters
- TElementEntityType
The type that is an EntityType
See Also
FunctionConfiguration Class
System.Web.OData.Builder Namespace
Return to top