32 references to SchemaType
netstandard (1)
netstandard.cs (1)
568
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.
SchemaType
))]
System.Data (1)
src\libraries\shims\System.Data\ref\System.Data.cs (1)
185
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.
SchemaType
))]
System.Data.Common (30)
System\Data\Common\AdapterUtil.Common.cs (4)
209
internal static ArgumentOutOfRangeException InvalidSchemaType(
SchemaType
value)
214
case
SchemaType
.Source:
215
case
SchemaType
.Mapped:
220
return InvalidEnumerationValue(typeof(
SchemaType
), (int)value);
System\Data\Common\DataAdapter.cs (9)
252
public virtual DataTable[] FillSchema(DataSet dataSet,
SchemaType
schemaType)
258
protected virtual DataTable[] FillSchema(DataSet dataSet,
SchemaType
schemaType, string srcTable, IDataReader dataReader)
267
if ((
SchemaType
.Source != schemaType) && (
SchemaType
.Mapped != schemaType))
291
protected virtual DataTable? FillSchema(DataTable dataTable,
SchemaType
schemaType, IDataReader dataReader)
300
if ((
SchemaType
.Source != schemaType) && (
SchemaType
.Mapped != schemaType))
320
internal object? FillSchemaFromReader(DataSet? dataset, DataTable? datatable,
SchemaType
schemaType, string? srcTable, IDataReader dataReader)
670
return new SchemaMapping(this, dataset, datatable, dataReader, withKeyInfo,
SchemaType
.Mapped, tmp, true, parentChapterColumn, parentChapterValue);
System\Data\Common\DbDataAdapter.cs (11)
292
public DataTable? FillSchema(DataTable dataTable,
SchemaType
schemaType)
308
public override DataTable[] FillSchema(DataSet dataSet,
SchemaType
schemaType)
328
public DataTable[] FillSchema(DataSet dataSet,
SchemaType
schemaType, string srcTable)
344
protected virtual DataTable[] FillSchema(DataSet dataSet,
SchemaType
schemaType, IDbCommand command, string srcTable, CommandBehavior behavior)
353
if ((
SchemaType
.Source != schemaType) && (
SchemaType
.Mapped != schemaType))
375
protected virtual DataTable? FillSchema(DataTable dataTable,
SchemaType
schemaType, IDbCommand command, CommandBehavior behavior)
384
if ((
SchemaType
.Source != schemaType) && (
SchemaType
.Mapped != schemaType))
407
private object? FillSchemaInternal(DataSet? dataset, DataTable? datatable,
SchemaType
schemaType, IDbCommand command, string srcTable, CommandBehavior behavior)
1530
SchemaMapping mapping = new SchemaMapping(this, null, rowUpdatedEvent.Row.Table, readerHandler, false,
SchemaType
.Mapped, rowUpdatedEvent.TableMapping.SourceTable, true, null, null);
System\Data\IDataAdapter.cs (1)
14
DataTable[] FillSchema(DataSet dataSet,
SchemaType
schemaType);
System\Data\ProviderBase\SchemaMapping.cs (5)
61
SchemaType
schemaType, string? sourceTableName, bool gettingData,
68
Debug.Assert(
SchemaType
.Mapped == schemaType ||
SchemaType
.Source == schemaType, "SetupSchema - invalid schemaType");
95
if (
SchemaType
.Mapped == schemaType)
122
else if (
SchemaType
.Source == schemaType)