36 instantiations of FacetValues
System.Data.Entity (36)
System\Data\Common\CommandTrees\AbstractExpressions.cs (1)
343
type = type.ShallowCopy(new
FacetValues
{ Nullable = true });
System\Data\Common\Internal\DbTypeMap.cs (12)
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 });
37
internal static readonly TypeUsage DateTime2 = CreateType(PrimitiveTypeKind.DateTime, new
FacetValues
{ Precision = (byte?)null });
38
internal static readonly TypeUsage Time = CreateType(PrimitiveTypeKind.Time, new
FacetValues
{ Precision = (byte?)null });
39
internal static readonly TypeUsage DateTimeOffset = CreateType(PrimitiveTypeKind.DateTimeOffset, new
FacetValues
{ Precision = (byte?)null });
42
internal static readonly TypeUsage Decimal = CreateType(PrimitiveTypeKind.Decimal, new
FacetValues
{ Precision = (byte?)null, Scale = (byte?)null });
44
internal static readonly TypeUsage Currency = CreateType(PrimitiveTypeKind.Decimal, new
FacetValues
{ Precision = (byte?)null, Scale = (byte?)null });
159
return CreateType(type, new
FacetValues
());
System\Data\Metadata\Converter.cs (2)
817
new
FacetValues
{ Nullable = false });
1381
new
FacetValues
System\Data\Metadata\Edm\FacetValues.cs (1)
114
FacetValues values = new
FacetValues
();
System\Data\Metadata\Edm\RelationshipEndMember.cs (1)
34
TypeUsage.Create(endRefType, new
FacetValues
{ Nullable = false }))
System\Data\Metadata\Edm\TypeUsage.cs (10)
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,
230
new
FacetValues
{Precision = precision});
252
new
FacetValues
{ Precision = precision });
273
new
FacetValues
{ Precision = precision });
299
new
FacetValues
{Precision = precision, Scale = scale });
318
new
FacetValues
{ Precision = TypeUsage.DefaultPrecisionFacetValue, Scale = TypeUsage.DefaultScaleFacetValue });
448
new
FacetValues
{ Nullable = false }));
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (3)
642
TypeUsage.Create(primitiveType, new
FacetValues
{ Nullable = isNullable }),
679
TypeUsage.Create(propertyType, new
FacetValues
() { Nullable = edmScalarPropertyAttribute.IsNullable }),
708
TypeUsage.Create(propertyType, new
FacetValues
{ Nullable = false }),
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (2)
492
EdmProperty property = new EdmProperty(cspaceProperty.Name, TypeUsage.Create(propertyType, new
FacetValues
{ Nullable = false }), clrProperty, type.TypeHandle);
759
TypeUsage.Create(propertyType, new
FacetValues
{ Nullable = nullableFacetValue }),
System\Data\Metadata\TypeHelpers.cs (2)
825
new
FacetValues
{ Unicode = isUnicode, MaxLength = TypeUsage.DefaultMaxLengthFacetValue, FixedLength = false, Nullable = false});
830
new
FacetValues
{ Nullable = false });
System\Data\Objects\ELinq\MethodCallTranslator.cs (1)
893
TypeUsage updatedType = argument.ResultType.ShallowCopy(new
FacetValues
{ Unicode = _isUnicode });
System\Data\SqlClient\SqlProviderServices.cs (1)
125
parameterType = queryParameter.Value.ShallowCopy(new
FacetValues
{ Unicode = false });
11 references to FacetValues
System.Data.Entity (11)
System\Data\Common\Internal\DbTypeMap.cs (1)
162
private static TypeUsage CreateType(PrimitiveTypeKind type,
FacetValues
facets)
System\Data\Common\Utils\MetadataHelper.cs (1)
876
TypeUsage edmTypeUsage = storeTypeUsage.GetModelTypeUsage().ShallowCopy(
FacetValues
.NullFacetValues);
System\Data\Metadata\Converter.cs (2)
1429
result = TypeUsage.Create(edmType,
FacetValues
.NullFacetValues);
1452
result = TypeUsage.Create(new CollectionType(elementTypeUsage),
FacetValues
.NullFacetValues);
System\Data\Metadata\Edm\FacetValues.cs (2)
109
internal static
FacetValues
NullFacetValues
114
FacetValues
values = new FacetValues();
System\Data\Metadata\Edm\TypeUsage.cs (5)
74
internal static TypeUsage Create(EdmType edmType,
FacetValues
values)
91
internal TypeUsage ShallowCopy(
FacetValues
facetValues)
517
private static IEnumerable<Facet> GetDefaultFacetDescriptionsAndOverrideFacetValues(EdmType type,
FacetValues
values)
526
private static IEnumerable<Facet> OverrideFacetValues(IEnumerable<Facet> facets,
FacetValues
values)
538
FacetValues
values)