EntityTypeConfiguration.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 virtual EntityTypeConfiguration MediaType()
public:
virtual EntityTypeConfiguration^ MediaType()
abstract MediaType : unit -> EntityTypeConfiguration
override MediaType : unit -> EntityTypeConfiguration
Public Overridable Function MediaType As EntityTypeConfiguration
Return Value
Type: System.Web.OData.Builder.EntityTypeConfiguration
Returns itself so that multiple calls can be chained.
See Also
EntityTypeConfiguration Class
System.Web.OData.Builder Namespace
Return to top