4 writes to _maxLength
System.Data.Common (4)
System\Data\DataColumn.cs (4)
556
_maxLength
= -1;
934
_maxLength
= Math.Max(value, -1);
940
_maxLength
= oldValue;
1287
_maxLength
= value.MaxLength; // this is temp solution, since we dont let simple content to have
10 references to _maxLength
System.Data.Common (10)
System\Data\DataColumn.cs (10)
890
_simpleType.MaxLength =
_maxLength
;
908
else if (-1 <
_maxLength
)
910
SimpleType = SimpleType.CreateLimitedStringType(
_maxLength
);
917
get { return
_maxLength
; }
923
if (
_maxLength
!= value)
933
int oldValue =
_maxLength
;
1375
if ((0 <=
_maxLength
) && (null != Table) && (0 < Table.Rows.Count))
1382
if (
_maxLength
< GetStringLength(dr.GetCurrentRecordNo()))
1395
if (0 <=
_maxLength
)
1398
if (
_maxLength
< GetStringLength(dr.GetDefaultRecord()))