DataSourceOperation Enum
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.
Specifies a data operation performed by a data source control.
public enum class DataSourceOperation
public enum DataSourceOperation
type DataSourceOperation =
Public Enum DataSourceOperation
- Inheritance
Name | Value | Description |
---|---|---|
Delete | 0 | The operation deletes records from a data source. |
Insert | 1 | The operation inserts one or more records into a data source. |
Select | 2 | The operation retrieves records from a data source. |
Update | 3 | The operation updates records in a data source. |
SelectCount | 4 | The operation retrieves the total number of records for a query from the data source. |
The DataSourceOperation enumeration represents the actions that a data source control can perform on its underlying data. Data source controls such as SqlDataSource and ObjectDataSource use these enumeration values to track the type of operation being performed.
The five major data source operations are represented by the DataSourceOperation enumeration. The Select and SelectCount values indicate operations that retrieve data from an underlying data source, while the Delete, Insert, and Update values indicate operations that modify data.
Produkt | Wersje |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Opinia o produkcie .NET
.NET to projekt typu open source. Wybierz link, aby przekazać opinię: