System.Data.MissingMappingAction Enumeration

Determines the action that occurs when a mapping is missing from a source table or a source column.

Syntax

public enum MissingMappingAction

Remarks

The System.Data.MissingMappingAction values are used as arguments in the System.Data.Common.DataColumnMappingCollection.GetColumnMappingBySchemaAction(System.Data.Common.DataColumnMappingCollection, string, MissingMappingAction) method, and the System.Data.Common.DataTableMappingCollection.GetTableMappingBySchemaAction(System.Data.Common.DataTableMappingCollection, string, string, MissingMappingAction) method.

Members

Member NameDescription
Error

An InvalidOperationException is generated if the specified column mapping is missing.

Ignore

The column or table not having a mapping is ignored. Returns null.

Passthrough

The source column or source table is created and added to the System.Data.DataSet using its original name.

Requirements

Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0