MissingMappingAction 枚举

定义

确定源表或源列中缺少映射时发生的操作。Determines the action that occurs when a mapping is missing from a source table or a source column.

public enum class MissingMappingAction
public enum MissingMappingAction
type MissingMappingAction = 
Public Enum MissingMappingAction
继承
MissingMappingAction

字段

Error 3

如果缺少指定的列映射,则生成 InvalidOperationExceptionAn InvalidOperationException is generated if the specified column mapping is missing.

Ignore 2

忽略没有映射的列或表。The column or table not having a mapping is ignored. 返回 nullReturns null.

Passthrough 1

创建源列或源表,并使用其原始名称将其添加到 DataSetThe source column or source table is created and added to the DataSet using its original name.

注解

MissingMappingAction 值用作 GetColumnMappingBySchemaAction 方法中的参数和 GetTableMappingBySchemaAction 方法。The MissingMappingAction values are used as arguments in the GetColumnMappingBySchemaAction method, and the GetTableMappingBySchemaAction method.

适用于