System.ComponentModel.DataAnnotations 4.0.0.0 System.Attribute System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)

Scaffolding is the mechanism for generating web page templates based on database schemas. ASP.NET Dynamic Data uses scaffolding to generate Web-based UI that lets a user to view and update a database. This class uses the property to enable scaffolding of individual tables in a Dynamic Data Web Site. Scaffolding enhances the ASP.NET page framework by dynamically displaying pages based on the data model with no physical pages required.

Scaffolding provides the following:

Minimal or no code to create a data-driven Web application.

Quick development time.

Pages that are fully functional, including display, insert, edit, delete, sorting, and paging functionalities.

Built-in data validation based on the database schema.

Filters that are created for each foreign key or Boolean fields.

This class can be used to enable or disable scaffolding of data tables in a data model by applying this attribute to the partial class that represents the table.

Specifies whether a class or data table uses scaffolding.

- Constructor
  4.0.0.0

  You can set to true for the entire data model to expose all data tables in the database for CRUD (Create, Read, Update and Delete) operations or expose individual tables to CRUD operations by setting for individual tables to true.

  Initializes a new instance of using the property.

  The value that specifies whether scaffolding is enabled.
- Property
  4.0.0.0
  System.Boolean To be added.

  Scaffolding is the mechanism of generating web page templates based on database schemas. ASP.NET Dynamic Data uses scaffolding to generate Web-based UI that lets a user to view and update a database. For more information about the Scaffold attribute, see .

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