Export (0) Print
Expand All

MappingSource.GetModel Method

Returns the mapping model.

Namespace:  System.Data.Linq.Mapping
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public MetaModel GetModel(
	Type dataContextType


Type: System.Type

The type of DataContext of the model to be returned.

Return Value

Type: System.Data.Linq.Mapping.MetaModel
The mapping model associated with this mapping source.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5

Community Additions

© 2014 Microsoft