CreateModel Method
Collapse the table of content
Expand the table of content

MappingSource.CreateModel Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Creates a new mapping model.

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

protected abstract MetaModel CreateModel(
	Type dataContextType
)

Parameters

dataContextType
Type: System.Type
The type of DataContext on which to base the mapping.

Return Value

Type: System.Data.Linq.Mapping.MetaModel
The meta-model created to match the current mapping scheme.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft