Share via


LinqToEntitiesDomainService<TContext>.Initialize 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.]

Initializes the domain service.

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

Syntax

'Declaration
Public Overrides Sub Initialize ( _
    context As DomainServiceContext _
)
'Usage
Dim instance As LinqToEntitiesDomainService
Dim context As DomainServiceContext

instance.Initialize(context)
public override void Initialize(
    DomainServiceContext context
)
public:
virtual void Initialize(
    DomainServiceContext^ context
) override
abstract Initialize : 
        context:DomainServiceContext -> unit 
override Initialize : 
        context:DomainServiceContext -> unit 
public override function Initialize(
    context : DomainServiceContext
)

Parameters

Remarks

The Initialize method must be called prior to invoking any operations on the domain service. Overrides must call the base method.

See Also

Reference

LinqToEntitiesDomainService<TContext> Class

System.ServiceModel.DomainServices.EntityFramework Namespace