ODataModelBuilder.EntitySet<TEntityType>(String) 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.
Registers an entity set as a part of the model and returns an object that can be used to configure the entity set. This method can be called multiple times for the same type to perform multiple lines of configuration.
public Microsoft.AspNet.OData.Builder.EntitySetConfiguration<TEntityType> EntitySet<TEntityType> (string name) where TEntityType : class;
member this.EntitySet : string -> Microsoft.AspNet.OData.Builder.EntitySetConfiguration<'EntityType (requires 'EntityType : null)> (requires 'EntityType : null)
Public Function EntitySet(Of TEntityType As Class) (name As String) As EntitySetConfiguration(Of TEntityType)
Type Parameters
- TEntityType
The entity type of the entity set.
Parameters
- name
- String
The name of the entity set.
Returns
The configuration object for the specified entity set.