LinqToSqlDomainService Generic Class

Provides a base class for domain services operating on LINQ to SQL data models.

Namespace: Microsoft.ServiceModel.DomainServices.LinqToSql
Assembly: Microsoft.ServiceModel.DomainServices.LinqToSql (in microsoft.servicemodel.domainservices.linqtosql.dll)

public abstract class LinqToSqlDomainService<TContext> : DomainService where TContext : DataContext



The type of DataContext to instantiate the LinqToSqlDomainService with.

This class is only available in the WCF RIA Services Toolkit. You can download the toolkit from the WCF RIA Services download site.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms