Welcome to mirror list, hosted at ThFree Co, Russian Federation.

SqlGenericUtil.cs « Sql « Data « System « System.Data « referencesource « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e5a3b39072620cbb6af5c8d8f7df4817abbd23f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//------------------------------------------------------------------------------
// <copyright file="SqlGenericUtil.cs" company="Microsoft">
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>
// <owner current="true" primary="true">Microsoft</owner>
// <owner current="true" primary="false">Microsoft</owner>
//------------------------------------------------------------------------------

namespace System.Data.Sql {
    using System;
    using System.Data;
    using System.Data.Common;
    using System.Diagnostics;

    sealed internal class SqlGenericUtil {

        private SqlGenericUtil() { /* prevent utility class from being insantiated*/ }

        //
        // Sql generic exceptions
        //

        //
        // Sql.Definition
        //

        static internal Exception NullCommandText() {
            return ADP.Argument(Res.GetString(Res.Sql_NullCommandText));
        }
        static internal Exception MismatchedMetaDataDirectionArrayLengths() {
            return ADP.Argument(Res.GetString(Res.Sql_MismatchedMetaDataDirectionArrayLengths));
        }
    }

 }//namespace