ODataConventionModelBuilder.AddEntitySet Method (String, EntityTypeConfiguration)
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public override EntitySetConfiguration AddEntitySet(
string name,
EntityTypeConfiguration entityType
)
public:
virtual EntitySetConfiguration^ AddEntitySet(
String^ name,
EntityTypeConfiguration^ entityType
) override
override AddEntitySet :
name:string *
entityType:EntityTypeConfiguration -> EntitySetConfiguration
Public Overrides Function AddEntitySet (
name As String,
entityType As EntityTypeConfiguration
) As EntitySetConfiguration
Parameters
- name
Type: System.String
- entityType
Type: System.Web.Http.OData.Builder.EntityTypeConfiguration
Return Value
Type: System.Web.Http.OData.Builder.EntitySetConfiguration
See Also
ODataConventionModelBuilder Class
System.Web.Http.OData.Builder Namespace
Return to top