Editare

Partajați prin


ScaffoldTableAttribute(Boolean) Constructor

Definition

Initializes a new instance of ScaffoldTableAttribute using the Scaffold property.

public:
 ScaffoldTableAttribute(bool scaffold);
public ScaffoldTableAttribute (bool scaffold);
new System.ComponentModel.DataAnnotations.ScaffoldTableAttribute : bool -> System.ComponentModel.DataAnnotations.ScaffoldTableAttribute
Public Sub New (scaffold As Boolean)

Parameters

scaffold
Boolean

The value that specifies whether scaffolding is enabled.

Remarks

You can set scaffold 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 scaffold for individual tables to true.

Applies to