RegisterContext Method

MetaModel.RegisterContext Method

.NET Framework (current version)
 

Registers the data context.

Namespace:   System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

NameDescription
System_CAPS_pubmethodRegisterContext(DataModelProvider)

Registers a data context instance by using a data-model provider

System_CAPS_pubmethodRegisterContext(DataModelProvider, ContextConfiguration)

Registers a data-context instance by using the specified context configuration and by enabling a data-model provider.

System_CAPS_pubmethodRegisterContext(Func<Object>)

Registers the data context that is specified by a context factory.

System_CAPS_pubmethodRegisterContext(Func<Object>, ContextConfiguration)

Registers a data-context instance by using the specified context configuration and by enabling a custom constructor.

System_CAPS_pubmethodRegisterContext(Type)

Registers a data-context instance.

System_CAPS_pubmethodRegisterContext(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.

Return to top
Show:
© 2016 Microsoft