ActionConfiguration.ReturnsCollectionFromEntitySet Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ReturnsCollectionFromEntitySet<TElementEntityType>(EntitySetConfiguration<TElementEntityType>) |
Sets the return type to a collection of entities. |
ReturnsCollectionFromEntitySet<TElementEntityType>(String) |
Sets the return type to a collection of entities. |
ReturnsCollectionFromEntitySet<TElementEntityType>(EntitySetConfiguration<TElementEntityType>)
Sets the return type to a collection of entities.
public Microsoft.AspNet.OData.Builder.ActionConfiguration ReturnsCollectionFromEntitySet<TElementEntityType> (Microsoft.AspNet.OData.Builder.EntitySetConfiguration<TElementEntityType> entitySetConfiguration) where TElementEntityType : class;
member this.ReturnsCollectionFromEntitySet : Microsoft.AspNet.OData.Builder.EntitySetConfiguration<'ElementEntityType (requires 'ElementEntityType : null)> -> Microsoft.AspNet.OData.Builder.ActionConfiguration (requires 'ElementEntityType : null)
Public Function ReturnsCollectionFromEntitySet(Of TElementEntityType As Class) (entitySetConfiguration As EntitySetConfiguration(Of TElementEntityType)) As ActionConfiguration
Type Parameters
- TElementEntityType
The entity type.
Parameters
- entitySetConfiguration
- EntitySetConfiguration<TElementEntityType>
The entity set which contains the returned entities.
Returns
Applies to
ReturnsCollectionFromEntitySet<TElementEntityType>(String)
Sets the return type to a collection of entities.
public Microsoft.AspNet.OData.Builder.ActionConfiguration ReturnsCollectionFromEntitySet<TElementEntityType> (string entitySetName) where TElementEntityType : class;
member this.ReturnsCollectionFromEntitySet : string -> Microsoft.AspNet.OData.Builder.ActionConfiguration (requires 'ElementEntityType : null)
Public Function ReturnsCollectionFromEntitySet(Of TElementEntityType As Class) (entitySetName As String) As ActionConfiguration
Type Parameters
- TElementEntityType
The entity type.
Parameters
- entitySetName
- String
The name of the entity set which contains the returned entities.