DynamicDataRoute::Model Property

 

Gets or sets the data model to which the route applies.

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

public:
property MetaModel^ Model {
	MetaModel^ get();
	void set(MetaModel^ value);
}

Property Value

Type: System.Web.DynamicData::MetaModel^

The data-model metadata that the route applies to.

If you do not set this property when you create an instance of DynamicDataRoute, the default model for the registered DataContext instance is used.

.NET Framework
Available since 3.5
Return to top
Show: