EntityTypeConfiguration<TEntityType>.MediaType Method ()
Marks this entity type as media type.
Namespace: System.Web.OData.Builder
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public EntityTypeConfiguration<TEntityType> MediaType()
public:
EntityTypeConfiguration<TEntityType>^ MediaType()
member MediaType : unit -> EntityTypeConfiguration<'TEntityType>
Public Function MediaType As EntityTypeConfiguration(Of TEntityType)
Return Value
Type: System.Web.OData.Builder.EntityTypeConfiguration<TEntityType>
Returns itself so that multiple calls can be chained.
See Also
EntityTypeConfiguration<TEntityType> Class
System.Web.OData.Builder Namespace
Return to top