DbMetadataProviderAttribute Constructor (Type)
[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 ( _
dbContextType As Type _
)
public DbMetadataProviderAttribute(
Type dbContextType
)
public:
DbMetadataProviderAttribute(
Type^ dbContextType
)
new :
dbContextType:Type -> DbMetadataProviderAttribute
public function DbMetadataProviderAttribute(
dbContextType : Type
)
Parameters
- dbContextType
Type: System.Type
The LINQ To Entities ObjectContext Type.
Remarks
Constructs an attribute for the specified LINQ To Entities DbContext Type.
See Also
Reference
DbMetadataProviderAttribute Class