LinqToEntitiesMetadataProviderAttribute 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 LinqToEntitiesMetadataProviderAttribute 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 ( _
    objectContextType As Type _
)
public LinqToEntitiesMetadataProviderAttribute(
    Type objectContextType
)
public:
LinqToEntitiesMetadataProviderAttribute(
    Type^ objectContextType
)
new : 
        objectContextType:Type -> LinqToEntitiesMetadataProviderAttribute
public function LinqToEntitiesMetadataProviderAttribute(
    objectContextType : Type
)

Parameters

  • objectContextType
    Type: System.Type
    The LINQ To Entities ObjectContext Type.

Remarks

Constructs an attribute for the specified LINQ To Entities ObjectContext Type.

See Also

Reference

LinqToEntitiesMetadataProviderAttribute Class

LinqToEntitiesMetadataProviderAttribute Overload

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