71 references to DbMetaDataCollectionNames
System.Data (71)
fx\src\data\System\Data\Common\DBCommandBuilder.cs (1)
528
DataTable dataTable = connection.GetSchema(
DbMetaDataCollectionNames
.DataSourceInformation);
fx\src\data\System\Data\Odbc\odbcmetadatafactory.cs (24)
54
new SchemaFunctionName(
DbMetaDataCollectionNames
.DataTypes,ODBC32.SQL_API.SQLGETTYPEINFO),
64
DataTable metaDataCollectionsTable = CollectionDataSet.Tables[
DbMetaDataCollectionNames
.MetaDataCollections];
66
throw ADP.UnableToBuildCollection(
DbMetaDataCollectionNames
.MetaDataCollections);
70
metaDataCollectionsTable = CloneAndFilterCollection(
DbMetaDataCollectionNames
.MetaDataCollections, null);
73
DataTable restrictionsTable = CollectionDataSet.Tables[
DbMetaDataCollectionNames
.Restrictions];
76
restrictionsTable= CloneAndFilterCollection(
DbMetaDataCollectionNames
.Restrictions, null);
127
CollectionDataSet.Tables.Remove(CollectionDataSet.Tables[
DbMetaDataCollectionNames
.MetaDataCollections]);
131
CollectionDataSet.Tables.Remove(CollectionDataSet.Tables[
DbMetaDataCollectionNames
.Restrictions]);
539
throw ADP.TooManyRestrictions(
DbMetaDataCollectionNames
.DataSourceInformation);
543
DataTable dataSourceInformationTable = CollectionDataSet.Tables[
DbMetaDataCollectionNames
.DataSourceInformation];
545
throw ADP.UnableToBuildCollection(
DbMetaDataCollectionNames
.DataSourceInformation);
549
dataSourceInformationTable = CloneAndFilterCollection(
DbMetaDataCollectionNames
.DataSourceInformation, null);
745
throw ADP.TooManyRestrictions(
DbMetaDataCollectionNames
.DataTypes);
751
DataTable dataTypesTable = CollectionDataSet.Tables[
DbMetaDataCollectionNames
.DataTypes];
753
throw ADP.UnableToBuildCollection(
DbMetaDataCollectionNames
.DataTypes);
757
dataTypesTable = CloneAndFilterCollection(
DbMetaDataCollectionNames
.DataTypes, null);
927
throw ADP.TooManyRestrictions(
DbMetaDataCollectionNames
.ReservedWords);
931
DataTable reservedWordsTable = CollectionDataSet.Tables[
DbMetaDataCollectionNames
.ReservedWords];
933
throw ADP.UnableToBuildCollection(
DbMetaDataCollectionNames
.ReservedWords);
937
reservedWordsTable = CloneAndFilterCollection(
DbMetaDataCollectionNames
.ReservedWords, null);
941
throw ADP.UnableToBuildCollection(
DbMetaDataCollectionNames
.ReservedWords);
1057
else if (collectionName ==
DbMetaDataCollectionNames
.DataTypes) {
1060
else if (collectionName ==
DbMetaDataCollectionNames
.DataSourceInformation) {
1063
else if (collectionName ==
DbMetaDataCollectionNames
.ReservedWords) {
fx\src\data\System\Data\OleDb\OleDbMetaDataFactory.cs (31)
53
new SchemaRowsetName(
DbMetaDataCollectionNames
.DataTypes,OleDbSchemaGuid.Provider_Types),
65
DataTable metaDataCollectionsTable = CollectionDataSet.Tables[
DbMetaDataCollectionNames
.MetaDataCollections];
67
throw ADP.UnableToBuildCollection(
DbMetaDataCollectionNames
.MetaDataCollections);
71
metaDataCollectionsTable = CloneAndFilterCollection(
DbMetaDataCollectionNames
.MetaDataCollections, null);
74
DataTable restrictionsTable = CollectionDataSet.Tables[
DbMetaDataCollectionNames
.Restrictions];
77
restrictionsTable= CloneAndFilterCollection(
DbMetaDataCollectionNames
.Restrictions, null);
89
throw ADP.InvalidXmlMissingColumn(
DbMetaDataCollectionNames
.MetaDataCollections,_populationMechanism);
93
throw ADP.InvalidXmlMissingColumn(
DbMetaDataCollectionNames
.MetaDataCollections,_collectionName);
99
throw ADP.InvalidXmlMissingColumn(
DbMetaDataCollectionNames
.Restrictions,_collectionName);
107
throw ADP.InvalidXmlInvalidValue(
DbMetaDataCollectionNames
.MetaDataCollections,_populationMechanism);
111
throw ADP.InvalidXmlInvalidValue(
DbMetaDataCollectionNames
.MetaDataCollections,_collectionName);
145
throw ADP.InvalidXmlInvalidValue(
DbMetaDataCollectionNames
.Restrictions,_collectionName);
161
CollectionDataSet.Tables.Remove(CollectionDataSet.Tables[
DbMetaDataCollectionNames
.MetaDataCollections]);
165
CollectionDataSet.Tables.Remove(CollectionDataSet.Tables[
DbMetaDataCollectionNames
.Restrictions]);
187
DataTable dataSourceInformationTable = CollectionDataSet.Tables[
DbMetaDataCollectionNames
.DataSourceInformation];
189
throw ADP.UnableToBuildCollection(
DbMetaDataCollectionNames
.DataSourceInformation);
193
dataSourceInformationTable = CloneAndFilterCollection(
DbMetaDataCollectionNames
.DataSourceInformation, null);
337
DataTable dataTypesTable = CollectionDataSet.Tables[
DbMetaDataCollectionNames
.DataTypes];
339
throw ADP.UnableToBuildCollection(
DbMetaDataCollectionNames
.DataTypes);
343
dataTypesTable = CloneAndFilterCollection(
DbMetaDataCollectionNames
.DataTypes, null);
457
DataTable reservedWordsTable = CollectionDataSet.Tables[
DbMetaDataCollectionNames
.ReservedWords];
459
throw ADP.UnableToBuildCollection(
DbMetaDataCollectionNames
.ReservedWords);
463
reservedWordsTable = CloneAndFilterCollection(
DbMetaDataCollectionNames
.ReservedWords, null);
467
throw ADP.UnableToBuildCollection(
DbMetaDataCollectionNames
.ReservedWords);
484
if (collectionName ==
DbMetaDataCollectionNames
.DataSourceInformation){
486
throw ADP.TooManyRestrictions(
DbMetaDataCollectionNames
.DataSourceInformation);
490
else if (collectionName ==
DbMetaDataCollectionNames
.DataTypes){
492
throw ADP.TooManyRestrictions(
DbMetaDataCollectionNames
.DataTypes);
496
else if (collectionName ==
DbMetaDataCollectionNames
.ReservedWords){
498
throw ADP.TooManyRestrictions(
DbMetaDataCollectionNames
.ReservedWords);
511
DataTable metaDataCollectionsTable = CollectionDataSet.Tables[
DbMetaDataCollectionNames
.MetaDataCollections];
fx\src\Data\System\Data\ProviderBase\DbConnectionHelper.cs (1)
285
return this.GetSchema(
DbMetaDataCollectionNames
.MetaDataCollections, null);
fx\src\data\System\Data\ProviderBase\DbMetaDataFactory.cs (9)
125
DataTable metaDataCollectionsTable = _metaDataCollectionsDataSet.Tables[
DbMetaDataCollectionNames
.MetaDataCollections];
245
DataTable metaDataCollectionsTable = _metaDataCollectionsDataSet.Tables[
DbMetaDataCollectionNames
.MetaDataCollections];
253
throw ADP.InvalidXmlMissingColumn(
DbMetaDataCollectionNames
.MetaDataCollections, DbMetaDataColumnNames.CollectionName);
268
throw ADP.InvalidXmlInvalidValue(
DbMetaDataCollectionNames
.MetaDataCollections,DbMetaDataColumnNames.CollectionName);
315
Debug.Assert(dataSourceInfoTable.TableName ==
DbMetaDataCollectionNames
.DataSourceInformation);
345
restrictionsTable = _metaDataCollectionsDataSet.Tables[
DbMetaDataCollectionNames
.Restrictions];
383
DataTable metaDataCollectionsTable = _metaDataCollectionsDataSet.Tables[
DbMetaDataCollectionNames
.MetaDataCollections];
409
if (exactCollectionName ==
DbMetaDataCollectionNames
.MetaDataCollections) {
429
if (exactCollectionName ==
DbMetaDataCollectionNames
.DataSourceInformation) {
fx\src\data\System\Data\SqlClient\sqlmetadatafactory.cs (5)
246
DataTable dataTypesTable = CollectionDataSet.Tables[
DbMetaDataCollectionNames
.DataTypes];
248
throw ADP.UnableToBuildCollection(
DbMetaDataCollectionNames
.DataTypes);
252
dataTypesTable = CloneAndFilterCollection(
DbMetaDataCollectionNames
.DataTypes, null);
267
if (collectionName ==
DbMetaDataCollectionNames
.DataTypes){
269
throw ADP.TooManyRestrictions(
DbMetaDataCollectionNames
.DataTypes);