MappingSource.GetModel Method (Type)

 

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: