1 override of Size
System.Data.Linq (1)
SqlClient\SqlTypeSystemProvider.cs (1)
532
internal override int?
Size
{
13 references to Size
System.Data.Linq (13)
SqlClient\Common\InheritanceRules.cs (4)
75
if (providerType.
Size
.HasValue && s.Length!=providerType.
Size
) {
76
s = s.PadRight(providerType.
Size
.Value).Substring(0,providerType.
Size
.Value);
SqlClient\Query\SqlTypeConverter.cs (4)
59
&& newSqlType.
Size
>= oldSqlType.
Size
); // and if the new size is larger or equal to the old, then OK
94
uo.SetSqlType(sql.TypeProvider.From(uo.ClrType, oldSqlType.HasSizeOrIsLarge ? oldSqlType.
Size
: (int?)null));
112
uo.SetSqlType(sql.TypeProvider.From(uo.ClrType, oldSqlType.HasSizeOrIsLarge ? oldSqlType.
Size
: (int?)null));
SqlClient\SqlTypeSystemProvider.cs (5)
1119
if ((!leftType.IsLargeType && leftType.
Size
.HasValue) &&
1120
(!rightType.IsLargeType && rightType.
Size
.HasValue))
1124
int concatSize = leftType.
Size
.Value + rightType.
Size
.Value;
1125
if ((concatSize < concatType.
Size
) || concatType.IsLargeType)