ODataModelBuilder::EntitySet<TEntityType> Method (String^)
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.
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
public: generic<typename TEntityType> where TEntityType : ref class EntitySetConfiguration<TEntityType>^ EntitySet( String^ name )
Parameters
- name
-
Type:
System::String^
The name of the entity set.
Return Value
Type: System.Web.Http.OData.Builder::EntitySetConfiguration<TEntityType>^The configuration object for the specified entity set.
Type Parameters
- TEntityType
The entity type of the entity set.
Show: