20 return base.CanConvertTo(context, destinationType);
25 if (
null == destinationType)
44 return base.ConvertTo(context,
culture,
value, destinationType);
64 if (dataColumnMappingCollection ==
null)
68 return dataColumnMappingCollection;
130 if (columnMappings !=
null && columnMappings.Length != 0)
146 columnMappings.
Add(columnMapping.
Clone());
149 return dataTableMapping;
172 if (
string.IsNullOrEmpty(dataSetTable))
177 int num = tables.
IndexOf(dataSetTable);
178 if (0 <= num && num < tables.
Count)
182 switch (schemaAction)
static ArgumentNullException ArgumentNull(string parameter)
static int SrcCompare(string strA, string strB)
static InvalidOperationException MissingTableSchema(string cacheTable, string srcTable)
static ArgumentOutOfRangeException InvalidMissingSchemaAction(MissingSchemaAction value)
static ? DataColumn GetDataColumn(DataColumnMappingCollection? columnMappings, string sourceColumn, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields|DynamicallyAccessedMemberTypes.PublicProperties)] Type? dataType, DataTable dataTable, MissingMappingAction mappingAction, MissingSchemaAction schemaAction)
static ? DataColumnMapping GetColumnMappingBySchemaAction(DataColumnMappingCollection? columnMappings, string sourceColumn, MissingMappingAction mappingAction)
void ValidateSourceTable(int index, string value)
override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
DataTable? GetDataTableBySchemaAction(DataSet dataSet, MissingSchemaAction schemaAction)
DataColumn? GetDataColumn(string sourceColumn, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields|DynamicallyAccessedMemberTypes.PublicProperties)] Type? dataType, DataTable dataTable, MissingMappingAction mappingAction, MissingSchemaAction schemaAction)
DataTableMappingCollection _parent
IColumnMappingCollection ITableMapping. ColumnMappings
DataTableMappingCollection? Parent
DataColumnMappingCollection _columnMappings
override string ToString()
DataColumnMapping? GetColumnMappingBySchemaAction(string sourceColumn, MissingMappingAction mappingAction)
DataTableMapping(string? sourceTable, string? dataSetTable, DataColumnMapping[]? columnMappings)
DataTableMapping(string? sourceTable, string? dataSetTable)
DataTableCollection Tables
int IndexOf(DataTable? table)
void Add(DataTable table)
void CopyTo(Array array, int index)
IColumnMapping Add(string sourceColumnName, string dataSetColumnName)
DesignerSerializationVisibility
DynamicallyAccessedMemberTypes