ContextConfiguration Class
Provides information for a data-context instance in order to allow customization.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
| Name | Description | |
|---|---|---|
![]() | ContextConfiguration() | Initializes a new instance of the ContextConfiguration class. |
| Name | Description | |
|---|---|---|
![]() | MetadataProviderFactory | Gets or sets the metadata provider. |
![]() | ScaffoldAllTables | Gets or sets a value that indicates whether scaffolding is enabled. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
The ContextConfiguration class enables you to customize data access. For example, you can use this class to enable scaffolding for a Web application, or to define a custom metadata provider.
The following example shows how to use the ContextConfiguration class when you call the RegisterContext method in order to register a data context with scaffolding enabled.
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


