static internal ArgumentException ParameterValueOutOfRange(Decimal value) { return(ADP.Argument(Res.GetString(Res.ADP_ParameterValueOutOfRange, value.ToString((IFormatProvider)null)))); }
static internal ArgumentException ConvertFailed(Type fromType, Type toType, Exception innerException) { return(ADP.Argument(Res.GetString(Res.SqlConvert_ConvertFailed, fromType.FullName, toType.FullName), innerException)); }
// // SqlMetaData, SqlTypes, SqlClient // static internal Exception InvalidMetaDataValue() { return(ADP.Argument(Res.GetString(Res.ADP_InvalidMetaDataValue))); }
static internal ArgumentException InvalidMinMaxPoolSizeValues() { return(ADP.Argument(Res.GetString(Res.ADP_InvalidMinMaxPoolSizeValues))); }
internal static ArgumentException ConvertFailed(Type fromType, Type toType, Exception innerException) { return(ADP.Argument(SR.Format(SR.SqlConvert_ConvertFailed, fromType.FullName, toType.FullName), innerException)); }
internal static ArgumentException ParameterValueOutOfRange(SqlDecimal value) { return(ADP.Argument(SR.GetString(SR.ADP_ParameterValueOutOfRange, value.ToString()))); }
// // SqlMetaData, SqlTypes, SqlClient // internal static Exception InvalidMetaDataValue() { return(ADP.Argument(SR.GetString(SR.ADP_InvalidMetaDataValue))); }
internal static ArgumentException InvalidRestrictionValue(string collectionName, string restrictionName, string restrictionValue) { return(ADP.Argument(SR.GetString(SR.MDF_InvalidRestrictionValue, collectionName, restrictionName, restrictionValue))); }