MissingMappingAction Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

Public Enumeration 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: