10 references to MaxBinaryLength
System.Data (10)
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (4)
592
if (maxLength > SmiMetaData.
MaxBinaryLength
) {
614
if (SmiMetaData.
MaxBinaryLength
< maxLength) {
795
maxLength = SmiMetaData.
MaxBinaryLength
;
807
if (maxLength > SmiMetaData.
MaxBinaryLength
) {
fx\src\data\Microsoft\SqlServer\Server\SmiMetaData.cs (3)
119
internal static readonly SmiMetaData DefaultVarBinary = new SmiMetaData(SqlDbType.VarBinary,
MaxBinaryLength
, 0, 0, SqlCompareOptions.None); // SqlDbType.VarBinary
480
result = 0 < maxLength &&
MaxBinaryLength
>= maxLength;
483
result = UnlimitedMaxLengthIndicator == maxLength || ( 0 < maxLength &&
MaxBinaryLength
>= maxLength );
fx\src\data\System\Data\SqlClient\SqlCommand.cs (1)
6314
(mt.IsBinType && size < SmiMetaData.
MaxBinaryLength
) ||
fx\src\data\System\Data\SqlClient\SqlParameter.cs (2)
398
maxLen = MSS.SmiMetaData.
MaxBinaryLength
;
407
else if (( maxLen > MSS.SmiMetaData.
MaxBinaryLength
&& ( SqlDbType.Binary == mt.SqlDbType || SqlDbType.VarBinary == mt.SqlDbType ))