Export (0) Print
Expand All

LinqToEntitiesDomainService<TContext>.CreateObjectContext Method

WCF RIA Services

[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 and returns the ObjectContext instance that will be used by this provider.

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

protected virtual TContext CreateObjectContext()

Return Value

Type: TContext
A new ObjectContext instance.
Show:
© 2014 Microsoft