예제 #1
0
 internal static ArgumentException ParameterValueOutOfRange(String value)
 {
     return(ADP.Argument(System.SRHelper.GetString(SR.ADP_ParameterValueOutOfRange, value)));
 }
예제 #2
0
 internal static ArgumentException ParameterValueOutOfRange(decimal value)
 {
     return(ADP.Argument(System.SRHelper.GetString(SR.ADP_ParameterValueOutOfRange, value.ToString((IFormatProvider)null))));
 }
예제 #3
0
 //
 // SqlMetaData, SqlTypes, SqlClient
 //
 internal static Exception InvalidMetaDataValue()
 {
     return(ADP.Argument(System.SRHelper.GetString(SR.ADP_InvalidMetaDataValue)));
 }
예제 #4
0
 //
 // DbConnectionOptions, DataAccess
 //
 internal static ArgumentException InvalidMinMaxPoolSizeValues()
 {
     return(ADP.Argument(System.SRHelper.GetString(SR.ADP_InvalidMinMaxPoolSizeValues)));
 }
예제 #5
0
 internal static ArgumentException ConvertFailed(Type fromType, Type toType, Exception innerException)
 {
     return(ADP.Argument(System.StringsHelper.Format(Strings.SqlConvert_ConvertFailed, fromType.FullName, toType.FullName), innerException));
 }
예제 #6
0
 internal static ArgumentException ParameterValueOutOfRange(SqlDecimal value)
 {
     return(ADP.Argument(System.StringsHelper.GetString(Strings.ADP_ParameterValueOutOfRange, value.ToString())));
 }