MissingMappingAction Enumeration

 

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

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

type MissingMappingAction

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 DataSet using its original name.

The MissingMappingAction values are used as arguments in the GetColumnMappingBySchemaAction method, and the GetTableMappingBySchemaAction method.

.NET Framework
Available since 1.1
Return to top
Show: