DbMetadataProviderAttribute Constructor

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the DbMetadataProviderAttribute class.

Namespace:  System.Web.Http.Data.EntityFramework.Metadata
Assembly:  System.Web.Http.Data.EntityFramework (in System.Web.Http.Data.EntityFramework.dll)

Syntax

'Declaration
Public Sub New
public DbMetadataProviderAttribute()
public:
DbMetadataProviderAttribute()
new : unit -> DbMetadataProviderAttribute
public function DbMetadataProviderAttribute()

Remarks

This is a default constructor. Using this constructor, the Type of the LINQ To Entities DbContext will be inferred from the DataController the attribute is applied to.

See Also

Reference

DbMetadataProviderAttribute Class

DbMetadataProviderAttribute Overload

System.Web.Http.Data.EntityFramework.Metadata Namespace