MetaModel::RegisterContext Method
.NET Framework (current version)
Registers the data context.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
| Name | Description | |
|---|---|---|
![]() | RegisterContext(DataModelProvider^) | Registers a data context instance by using a data-model provider |
![]() | RegisterContext(DataModelProvider^, ContextConfiguration^) | Registers a data-context instance by using the specified context configuration and by enabling a data-model provider. |
![]() | RegisterContext(Func<Object^>^) | Registers the data context that is specified by a context factory. |
![]() | RegisterContext(Func<Object^>^, ContextConfiguration^) | Registers a data-context instance by using the specified context configuration and by enabling a custom constructor. |
![]() | RegisterContext(Type^) | Registers a data-context instance. |
![]() | 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:
