135 references to SQLResource
System.Data (135)
fx\src\data\System\Data\SqlClient\SqlBuffer.cs (1)
200
throw new OverflowException(
SQLResource
.ConversionOverflowMessage);
fx\src\data\System\Data\SQLTypes\SQLBinary.cs (1)
159
return IsNull ?
SQLResource
.NullString : "SqlBinary(" + m_value.Length.ToString(CultureInfo.InvariantCulture) + ")";
fx\src\data\System\Data\SQLTypes\SQLBoolean.cs (2)
243
return IsNull ?
SQLResource
.NullString : Value.ToString((IFormatProvider)null);
253
if (s ==
SQLResource
.NullString)
fx\src\data\System\Data\SQLTypes\SQLByte.cs (12)
110
return IsNull ?
SQLResource
.NullString : m_value.ToString((IFormatProvider)null);
117
if (s ==
SQLResource
.NullString)
144
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
158
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
172
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
188
throw new DivideByZeroException(
SQLResource
.DivideByZeroMessage);
202
throw new DivideByZeroException(
SQLResource
.DivideByZeroMessage);
259
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
273
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
287
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
301
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
315
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
fx\src\data\System\Data\SQLTypes\SQLDateTime.cs (8)
162
throw new SqlTypeException(
SQLResource
.InvalidDateTimeMessage);
175
throw new OverflowException(
SQLResource
.DateTimeOverflowMessage);
185
throw new OverflowException(
SQLResource
.DateTimeOverflowMessage);
231
throw new OverflowException(
SQLResource
.DateTimeOverflowMessage);
243
throw new SqlTypeException(
SQLResource
.DateTimeOverflowMessage);
341
return
SQLResource
.NullString;
349
if (s ==
SQLResource
.NullString)
640
throw new SqlTypeException(
SQLResource
.TimeZoneSpecifiedMessage);
fx\src\data\System\Data\SQLTypes\SQLDecimal.cs (28)
599
throw new ArgumentException(
SQLResource
.InvalidArraySizeMessage, "bits");
628
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
669
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
687
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
928
return
SQLResource
.NullString;
995
if (s ==
SQLResource
.NullString)
1021
throw new FormatException(
SQLResource
.FormatMessage);
1055
throw new FormatException(
SQLResource
.FormatMessage);
1077
throw new FormatException(
SQLResource
.FormatMessage);
1095
throw new FormatException(
SQLResource
.FormatMessage);
1100
throw new FormatException(
SQLResource
.FormatMessage);
1135
throw new OverflowException(
SQLResource
.ConversionOverflowMessage);
1286
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
1330
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
1521
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
1529
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
1546
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
1566
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
1574
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
1639
throw new DivideByZeroException(
SQLResource
.DivideByZeroMessage);
2091
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
2098
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
2132
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
2140
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
2165
throw new DivideByZeroException(
SQLResource
.DivideByZeroMessage);
2233
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
2757
throw new SqlTypeException(
SQLResource
.InvalidPrecScaleMessage);
2762
throw new SqlTypeException(
SQLResource
.InvalidPrecScaleMessage);
fx\src\data\System\Data\SQLTypes\SQLDouble.cs (8)
65
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
113
return IsNull ?
SQLResource
.NullString : m_value.ToString((IFormatProvider)null);
120
if (s ==
SQLResource
.NullString)
149
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
164
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
179
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
192
throw new DivideByZeroException(
SQLResource
.DivideByZeroMessage);
197
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
fx\src\data\System\Data\SQLTypes\SQLGuid.cs (4)
63
throw new ArgumentException(
SQLResource
.InvalidArraySizeMessage);
74
throw new ArgumentException(
SQLResource
.InvalidArraySizeMessage);
150
return
SQLResource
.NullString;
160
if (s ==
SQLResource
.NullString)
fx\src\data\System\Data\SQLTypes\SQLInt16.cs (13)
109
return IsNull ?
SQLResource
.NullString : m_value.ToString((IFormatProvider)null);
116
if (s ==
SQLResource
.NullString)
151
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
165
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
180
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
194
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
199
throw new DivideByZeroException(
SQLResource
.DivideByZeroMessage);
211
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
216
throw new DivideByZeroException(
SQLResource
.DivideByZeroMessage);
273
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
288
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
303
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
318
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
fx\src\data\System\Data\SQLTypes\SQLInt32.cs (13)
110
return IsNull ?
SQLResource
.NullString : m_value.ToString((IFormatProvider)null);
117
if (s ==
SQLResource
.NullString)
152
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
166
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
181
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
195
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
200
throw new DivideByZeroException(
SQLResource
.DivideByZeroMessage);
212
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
217
throw new DivideByZeroException(
SQLResource
.DivideByZeroMessage);
282
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
297
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
312
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
340
throw new OverflowException(
SQLResource
.ConversionOverflowMessage);
fx\src\data\System\Data\SQLTypes\SQLInt64.cs (17)
110
return IsNull ?
SQLResource
.NullString : m_value.ToString((IFormatProvider)null);
117
if (s ==
SQLResource
.NullString)
152
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
166
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
202
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
207
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
213
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
219
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
224
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
241
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
246
throw new DivideByZeroException(
SQLResource
.DivideByZeroMessage);
258
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
263
throw new DivideByZeroException(
SQLResource
.DivideByZeroMessage);
336
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
351
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
380
throw new OverflowException(
SQLResource
.ConversionOverflowMessage);
386
throw new OverflowException(
SQLResource
.ConversionOverflowMessage);
fx\src\data\System\Data\SQLTypes\SQLMoney.cs (8)
94
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
111
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
117
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
250
return
SQLResource
.NullString;
276
if ( s ==
SQLResource
.NullString) {
297
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
313
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
325
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
fx\src\data\System\Data\SQLTypes\SQLSingle.cs (8)
61
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
115
return IsNull ?
SQLResource
.NullString : m_value.ToString((IFormatProvider)null);
122
if (s ==
SQLResource
.NullString)
151
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
166
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
181
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
194
throw new DivideByZeroException(
SQLResource
.DivideByZeroMessage);
199
throw new OverflowException(
SQLResource
.ArithOverflowMessage);
fx\src\data\System\Data\SQLTypes\SQLString.cs (3)
360
return IsNull ?
SQLResource
.NullString : m_value;
407
throw new SqlTypeException(
SQLResource
.ConcatDiffCollationMessage);
423
throw new SqlTypeException(
SQLResource
.CompareDiffCollationMessage);
fx\src\data\System\Data\SQLTypes\SQLUtility.cs (4)
86
public SqlNullValueException() : this(
SQLResource
.NullValueMessage, null) {
116
public SqlTruncateException() : this(
SQLResource
.TruncationMessage, null) {
148
public SqlNotFilledException() : this(
SQLResource
.NotFilledMessage, null) {
171
public SqlAlreadyFilledException() : this(
SQLResource
.AlreadyFilledMessage, null) {
fx\src\data\System\Data\SQLTypes\SqlXml.cs (5)
199
throw new InvalidOperationException(
SQLResource
.ClosedXmlReaderMessage);
475
throw new NotSupportedException(
SQLResource
.InvalidOpStreamNonSeekable(method));
480
throw new NotSupportedException(
SQLResource
.InvalidOpStreamNonReadable(method));
485
throw new NotSupportedException(
SQLResource
.InvalidOpStreamNonWritable(method));
490
throw new ObjectDisposedException(
SQLResource
.InvalidOpStreamClosed(method));