LinqToEntitiesDomainServiceDescriptionProviderAttribute Constructor (Type)

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Initializes a new instance of the LinqToEntitiesDomainServiceDescriptionProviderAttribute class with the specified ObjectContext type.

Namespace:  System.ServiceModel.DomainServices.EntityFramework
Assembly:  System.ServiceModel.DomainServices.EntityFramework (in System.ServiceModel.DomainServices.EntityFramework.dll)

Syntax

'Declaration
Public Sub New ( _
    objectContextType As Type _
)
'Usage
Dim objectContextType As Type

Dim instance As New LinqToEntitiesDomainServiceDescriptionProviderAttribute(objectContextType)
public LinqToEntitiesDomainServiceDescriptionProviderAttribute(
    Type objectContextType
)
public:
LinqToEntitiesDomainServiceDescriptionProviderAttribute(
    Type^ objectContextType
)
new : 
        objectContextType:Type -> LinqToEntitiesDomainServiceDescriptionProviderAttribute
public function LinqToEntitiesDomainServiceDescriptionProviderAttribute(
    objectContextType : Type
)

Parameters

  • objectContextType
    Type: System.Type
    The type of the LINQ to Entities ObjectContext.

See Also

Reference

LinqToEntitiesDomainServiceDescriptionProviderAttribute Class

LinqToEntitiesDomainServiceDescriptionProviderAttribute Overload

System.ServiceModel.DomainServices.EntityFramework Namespace