This topic has not yet been rated - Rate this topic

MetaModel.RegisterContext Method

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
Public method RegisterContext(DataModelProvider) Registers a data context instance by using a data-model provider
Public method RegisterContext(Func<Object>) Registers the data context that is specified by a context factory.
Public method RegisterContext(Type) Registers a data-context instance.
Public method RegisterContext(DataModelProvider, ContextConfiguration) Registers a data-context instance by using the specified context configuration and by enabling a data-model provider.
Public method RegisterContext(Func<Object>, ContextConfiguration) Registers a data-context instance by using the specified context configuration and by enabling a custom constructor.
Public method RegisterContext(Type, ContextConfiguration) Registers a data-context instance by using the specified context configuration.
Top

You can define data-context initialization information by using the properties of the ContextConfiguration class.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ