MissingSchemaAction Enum
Definition
Specifies the action to take when adding data to the DataSet and the required DataTable or DataColumn is missing.
public enum class MissingSchemaAction
public enum MissingSchemaAction
type MissingSchemaAction =
Public Enum MissingSchemaAction
- Inheritance
Fields
Add | 1 | Adds the necessary columns to complete the schema. |
AddWithKey | 4 | Adds the necessary columns and primary key information to complete the schema. For more information about how primary key information is added to a DataTable, see FillSchema(DataSet, SchemaType).To function properly with the .NET Framework Data Provider for OLE DB, |
Error | 3 | An InvalidOperationException is generated if the specified column mapping is missing. |
Ignore | 2 | Ignores the extra columns. |
Remarks
The MissingSchemaAction values are used whenever an action is taken that could change the schema of the DataSet.