LinqToEntitiesDomainServiceDescriptionProviderAttribute.CreateProvider Method
[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.]
Creates an instance of the LINQ to Entities description provider.
Namespace: System.ServiceModel.DomainServices.EntityFramework
Assembly: System.ServiceModel.DomainServices.EntityFramework (in System.ServiceModel.DomainServices.EntityFramework.dll)
Syntax
'Declaration
Public Overrides Function CreateProvider ( _
domainServiceType As Type, _
parent As DomainServiceDescriptionProvider _
) As DomainServiceDescriptionProvider
'Usage
Dim instance As LinqToEntitiesDomainServiceDescriptionProviderAttribute
Dim domainServiceType As Type
Dim parent As DomainServiceDescriptionProvider
Dim returnValue As DomainServiceDescriptionProvider
returnValue = instance.CreateProvider(domainServiceType, _
parent)
public override DomainServiceDescriptionProvider CreateProvider(
Type domainServiceType,
DomainServiceDescriptionProvider parent
)
public:
virtual DomainServiceDescriptionProvider^ CreateProvider(
Type^ domainServiceType,
DomainServiceDescriptionProvider^ parent
) override
abstract CreateProvider :
domainServiceType:Type *
parent:DomainServiceDescriptionProvider -> DomainServiceDescriptionProvider
override CreateProvider :
domainServiceType:Type *
parent:DomainServiceDescriptionProvider -> DomainServiceDescriptionProvider
public override function CreateProvider(
domainServiceType : Type,
parent : DomainServiceDescriptionProvider
) : DomainServiceDescriptionProvider
Parameters
- domainServiceType
Type: System.Type
The domain service type to create a description provider for.
- parent
Type: System.ServiceModel.DomainServices.Server.DomainServiceDescriptionProvider
The existing parent description provider.
Return Value
Type: System.ServiceModel.DomainServices.Server.DomainServiceDescriptionProvider
The description provider.
See Also
Reference
LinqToEntitiesDomainServiceDescriptionProviderAttribute Class
System.ServiceModel.DomainServices.EntityFramework Namespace