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

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

3 Examples 7

1. Example

Project: referencesource
Source File: AdapterUtil.cs
View license
static internal Exception ColumnsAddNullAttempt(string parameter) {
            return CollectionNullValue(parameter, typeof(DataColumnMappingCollection), typeof(DataColumnMapping));
        }

2. Example

Project: referencesource
Source File: AdapterUtil.cs
View license
static internal Exception TablesAddNullAttempt(string parameter) {
            return CollectionNullValue(parameter, typeof(DataTableMappingCollection), typeof(DataTableMapping));
        }

3. Example

Project: referencesource
Source File: AdapterUtil.cs
View license
static internal Exception ParameterNull(string parameter, IDataParameterCollection collection, Type parameterType) {
            return CollectionNullValue(parameter, collection.GetType(), parameterType);
        }