Redigera

Dela via


ScaffoldColumnAttribute.Scaffold Property

Definition

Gets or sets the value that specifies whether scaffolding is enabled.

public:
 property bool Scaffold { bool get(); };
public bool Scaffold { get; }
member this.Scaffold : bool
Public ReadOnly Property Scaffold As Boolean

Property Value

true if scaffolding is enabled; otherwise, false.

Remarks

You can use this property to enable scaffolding in individual data columns in a data model. If you set this property to true in the global.asax file, the entire data model will expose all data columns in the database for CRUD (Create, Read, Update and Delete) operations.

Applies to