4 writes to MaxLength
System.Data.Common (4)
System\Data\DataColumn.cs (1)
1541
clone.
MaxLength
= MaxLength;
System\Data\DataTable.cs (1)
482
dc.
MaxLength
= info.GetInt32(string.Format(formatProvider, "DataTable.DataColumn_{0}.MaxLength", i));
System\Data\ProviderBase\SchemaMapping.cs (2)
961
dataColumn.
MaxLength
= schemaRow.Size > 0 ? schemaRow.Size : -1;
995
dataColumn.
MaxLength
= schemaRow.Size;
8 references to MaxLength
System.Data.Common (8)
System\Data\DataColumn.cs (4)
1541
clone.MaxLength =
MaxLength
;
1677
if (
MaxLength
< 0)
1691
if (value != null && value != DBNull.Value && ((string)value).Length >
MaxLength
)
1701
if (!DataStorage.IsObjectNull(value) && ((SqlString)value).Value.Length >
MaxLength
)
System\Data\DataSet.cs (1)
731
if (column.
MaxLength
>= 0)
System\Data\DataTable.cs (2)
396
info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.MaxLength", i), Columns[i].
MaxLength
);
1341
if (column.
MaxLength
>= 0)
System\Data\DataTableReader.cs (1)
803
dr[ColumnSize] = dc.
MaxLength
;