Model Property
Collapse the table of content
Expand the table of content

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 MetaModel Model { get; set; }

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
© 2015 Microsoft