13 writes to MaxLength
System.Data.Entity (13)
System\Data\Common\Internal\DbTypeMap.cs (6)
25
internal static readonly TypeUsage AnsiString = CreateType(PrimitiveTypeKind.String, new FacetValues { Unicode = false, FixedLength = false,
MaxLength
= (int?)null });
26
internal static readonly TypeUsage AnsiStringFixedLength = CreateType(PrimitiveTypeKind.String, new FacetValues { Unicode = false, FixedLength = true,
MaxLength
= (int?)null });
27
internal static readonly TypeUsage String = CreateType(PrimitiveTypeKind.String, new FacetValues { Unicode = true, FixedLength = false,
MaxLength
= (int?)null });
28
internal static readonly TypeUsage StringFixedLength = CreateType(PrimitiveTypeKind.String, new FacetValues { Unicode = true, FixedLength = true,
MaxLength
= (int?)null });
31
internal static readonly TypeUsage Xml = CreateType(PrimitiveTypeKind.String, new FacetValues { Unicode = true, FixedLength = false,
MaxLength
= (int?)null });
32
internal static readonly TypeUsage Binary = CreateType(PrimitiveTypeKind.Binary , new FacetValues {
MaxLength
= (int?)null });
System\Data\Metadata\Converter.cs (1)
1383
MaxLength
= Helper.GetFacet(primitiveType.FacetDescriptions,
System\Data\Metadata\Edm\FacetValues.cs (1)
116
values.
MaxLength
= (int?)null;
System\Data\Metadata\Edm\TypeUsage.cs (4)
134
new FacetValues{
MaxLength
= maxLength, Unicode = isUnicode, FixedLength = isFixedLength});
159
new FacetValues{
MaxLength
= TypeUsage.DefaultMaxLengthFacetValue,
187
new FacetValues{
MaxLength
= maxLength, FixedLength = isFixedLength});
208
new FacetValues{
MaxLength
= TypeUsage.DefaultMaxLengthFacetValue,
System\Data\Metadata\TypeHelpers.cs (1)
825
new FacetValues{ Unicode = isUnicode,
MaxLength
= TypeUsage.DefaultMaxLengthFacetValue, FixedLength = false, Nullable = false});