4 references to Contains
System.Data.Common (4)
System\Data\Common\DbDataReaderExtensions.cs (1)
52
private T? GetDbColumnValue<T>(string columnName) => _schemaColumns.
Contains
(columnName) && _schemaRow[columnName] is T value ? value : default;
System\Data\DataColumnCollection.cs (2)
855
} while (
Contains
(MakeName(_defaultNameIndex)));
922
} while (_defaultNameIndex > 1 && !
Contains
(MakeName(_defaultNameIndex - 1)));
System\Data\DataView.cs (1)
1076
if (!_table!.Columns.
Contains
(property.Name))