.NET Framework Class Library
MetaModel..::.RegisterContext Method

Registers the data context.

Overload List

  NameDescription
Public methodRegisterContext(Func<(Of <(Object>)>))Registers the data context that is specified by a context factory.
Public methodRegisterContext(Type)Registers a data-context instance.
Public methodRegisterContext(DataModelProvider)Registers a data context instance by using a data-model provider
Public methodRegisterContext(Func<(Of <(Object>)>), ContextConfiguration)Registers a data-context instance by using the specified context configuration and by enabling a custom constructor.
Public methodRegisterContext(Type, ContextConfiguration)Registers a data-context instance by using the specified context configuration.
Public methodRegisterContext(DataModelProvider, ContextConfiguration)Registers a data-context instance by using the specified context configuration and by enabling a data-model provider.
Top
Remarks

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

See Also

Reference

Tags :


Page view tracker