System.Data.Common.ADP.CollectionIndexString(System.Type, string, string, System.Type)

Here are the examples of the csharp api class System.Data.Common.ADP.CollectionIndexString(System.Type, string, string, System.Type) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

5 Examples 7

1. Example

Project: referencesource
Source File: AdapterUtil.cs
View license
static internal Exception ColumnsDataSetColumn(string cacheColumn) {
            return CollectionIndexString(typeof(DataColumnMapping), ADP.DataSetColumn, cacheColumn, typeof(DataColumnMappingCollection));
        }

2. Example

Project: referencesource
Source File: AdapterUtil.cs
View license
static internal Exception ColumnsIndexSource(string srcColumn) {
            return CollectionIndexString(typeof(DataColumnMapping), ADP.SourceColumn, srcColumn, typeof(DataColumnMappingCollection));
        }

3. Example

Project: referencesource
Source File: AdapterUtil.cs
View license
static internal Exception TablesDataSetTable(string cacheTable) {
            return CollectionIndexString(typeof(DataTableMapping), ADP.DataSetTable, cacheTable, typeof(DataTableMappingCollection));
        }

4. Example

Project: referencesource
Source File: AdapterUtil.cs
View license
static internal Exception TablesSourceIndex(string srcTable) {
            return CollectionIndexString(typeof(DataTableMapping), ADP.SourceTable, srcTable, typeof(DataTableMappingCollection));
        }

5. Example

Project: referencesource
Source File: AdapterUtil.cs
View license
static internal Exception ParametersSourceIndex(string parameterName, IDataParameterCollection collection, Type parameterType) {
            return CollectionIndexString(parameterType, ADP.ParameterName, parameterName, collection.GetType());
        }