ScaffoldTableAttribute(Boolean) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor