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
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.