System.Data.Common.ADP.ArgumentNull(string)

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

4 Examples 7

1. Example

Project: referencesource
Source File: AdapterUtil.cs
View license
static internal void CheckArgumentNull(object value, string parameterName) {
            if (null == value) {
                throw ArgumentNull(parameterName);
            }
        }

2. Example

Project: referencesource
Source File: AdapterUtil.cs
View license
static internal Exception FillRequires(string parameter) {
            return ArgumentNull(parameter);
        }

3. Example

Project: referencesource
Source File: AdapterUtil.cs
View license
static internal ArgumentNullException UpdateRequiresNonNullDataSet(string parameter) {
            return ArgumentNull(parameter);
        }

4. Example

Project: referencesource
Source File: AdapterUtil.cs
View license
static internal ArgumentNullException UpdateRequiresDataTable(string parameter) {
            return ArgumentNull(parameter);
        }