1 //------------------------------------------------------------------------------
2 // <copyright file="SqlGenericUtil.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 // <owner current="true" primary="true">Microsoft</owner>
6 // <owner current="true" primary="false">Microsoft</owner>
7 //------------------------------------------------------------------------------
9 namespace System.Data.Sql {
12 using System.Data.Common;
13 using System.Diagnostics;
15 sealed internal class SqlGenericUtil {
17 private SqlGenericUtil() { /* prevent utility class from being insantiated*/ }
20 // Sql generic exceptions
27 static internal Exception NullCommandText() {
28 return ADP.Argument(Res.GetString(Res.Sql_NullCommandText));
30 static internal Exception MismatchedMetaDataDirectionArrayLengths() {
31 return ADP.Argument(Res.GetString(Res.Sql_MismatchedMetaDataDirectionArrayLengths));