MappingSource.GetModel Method (Type)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the mapping model.

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

public MetaModel GetModel(
	Type dataContextType
)

Parameters

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.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
Show: