private CheckMaxLength ( |
||
dr | ||
Résultat | void |
internal void CheckMaxLength(DataRow dr)
{
if (0 <= _maxLength)
{
Debug.Assert(IsStringType, "not a String or SqlString column");
if (_maxLength < GetStringLength(dr.GetDefaultRecord()))
{
throw ExceptionBuilder.LongerThanMaxLength(this);
}
}
}
DataColumn::CheckMaxLength ( ) : bool |