Επεξεργασία

Κοινή χρήση μέσω


DynamicDataRoute.Model Property

Definition

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

public:
 property System::Web::DynamicData::MetaModel ^ Model { System::Web::DynamicData::MetaModel ^ get(); void set(System::Web::DynamicData::MetaModel ^ value); };
public System.Web.DynamicData.MetaModel Model { get; set; }
member this.Model : System.Web.DynamicData.MetaModel with get, set
Public Property Model As MetaModel

Property Value

The data-model metadata that the route applies to.

Remarks

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

Applies to