Share via

ScaffoldColumnAttribute.Scaffold Property


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

 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.


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