This documentation is archived and is not being maintained.
MetaModel::RegisterContext Method
Visual Studio 2010
Registers the data context.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
RegisterContext(DataModelProvider) | Registers a data context instance by using a data-model provider |
|
RegisterContext(Func<Object>) | Registers the data context that is specified by a context factory. |
|
RegisterContext(Type) | Registers a data-context instance. |
|
RegisterContext(DataModelProvider, ContextConfiguration) | Registers a data-context instance by using the specified context configuration and by enabling a data-model provider. |
|
RegisterContext(Func<Object>, ContextConfiguration) | Registers a data-context instance by using the specified context configuration and by enabling a custom constructor. |
|
RegisterContext(Type, ContextConfiguration) | Registers a data-context instance by using the specified context configuration. |
You can define data-context initialization information by using the properties of the ContextConfiguration class.
Show: