1 override of Size
System.Data.Linq (1)
SqlClient\SqlTypeSystemProvider.cs (1)
532internal override int? Size {
13 references to Size
System.Data.Linq (13)
SqlClient\Common\InheritanceRules.cs (4)
75if (providerType.Size.HasValue && s.Length!=providerType.Size) { 76s = 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 94uo.SetSqlType(sql.TypeProvider.From(uo.ClrType, oldSqlType.HasSizeOrIsLarge ? oldSqlType.Size : (int?)null)); 112uo.SetSqlType(sql.TypeProvider.From(uo.ClrType, oldSqlType.HasSizeOrIsLarge ? oldSqlType.Size : (int?)null));
SqlClient\SqlTypeSystemProvider.cs (5)
1119if ((!leftType.IsLargeType && leftType.Size.HasValue) && 1120(!rightType.IsLargeType && rightType.Size.HasValue)) 1124int concatSize = leftType.Size.Value + rightType.Size.Value; 1125if ((concatSize < concatType.Size) || concatType.IsLargeType)