44 references to Instance
System.Data.Entity (44)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (17)
36
private static readonly DbNullExpression _binaryNull = Null(EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Binary));
37
private static readonly DbNullExpression _boolNull = Null(EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Boolean));
38
private static readonly DbNullExpression _byteNull = Null(EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Byte));
39
private static readonly DbNullExpression _dateTimeNull = Null(EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(PrimitiveTypeKind.DateTime));
40
private static readonly DbNullExpression _dateTimeOffsetNull = Null(EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(PrimitiveTypeKind.DateTimeOffset));
41
private static readonly DbNullExpression _decimalNull = Null(EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Decimal));
42
private static readonly DbNullExpression _doubleNull = Null(EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Double));
43
private static readonly DbNullExpression _geographyNull = Null(EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Geography));
44
private static readonly DbNullExpression _geometryNull = Null(EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Geometry));
45
private static readonly DbNullExpression _guidNull = Null(EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Guid));
46
private static readonly DbNullExpression _int16Null = Null(EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Int16));
47
private static readonly DbNullExpression _int32Null = Null(EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Int32));
48
private static readonly DbNullExpression _int64Null = Null(EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Int64));
49
private static readonly DbNullExpression _sbyteNull = Null(EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(PrimitiveTypeKind.SByte));
50
private static readonly DbNullExpression _singleNull = Null(EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Single));
51
private static readonly DbNullExpression _stringNull = Null(EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(PrimitiveTypeKind.String));
52
private static readonly DbNullExpression _timeNull = Null(EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Time));
System\Data\Common\CommandTrees\ExpressionBuilder\EdmFunctions.cs (1)
32
EdmProviderManifest.
Instance
.GetStoreFunctions(),
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (1)
24
private static TypeUsage _booleanType = EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(PrimitiveTypeKind.Boolean);
System\Data\Common\DbXmlEnabledProviderManifest.cs (1)
123
_storeTypeNameToEdmPrimitiveType.Add(type.Name.ToLowerInvariant(), EdmProviderManifest.
Instance
.GetPrimitiveType(type.PrimitiveTypeKind));
System\Data\Common\EntitySql\FunctionOverloadResolver.cs (1)
317
IList<PrimitiveType> promotions = EdmProviderManifest.
Instance
.GetPromotionTypes(primitiveFromType);
System\Data\Common\Internal\DbTypeMap.cs (1)
164
PrimitiveType primitiveType = EdmProviderManifest.
Instance
.GetPrimitiveType(type);
System\Data\EntityClient\EntityCommandDefinition.cs (1)
352
parameter.EdmType = EdmProviderManifest.
Instance
.GetPrimitiveType(primitiveTypeKind);
System\Data\EntityClient\EntityParameter.cs (1)
450
typeUsage = EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(primitiveParameterType.PrimitiveTypeKind);
System\Data\EntityModel\SchemaObjectModel\Schema.cs (1)
576
EdmProviderManifest.
Instance
.GetPrimitiveType(PrimitiveTypeKind.String),
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (1)
725
TypeUsage.Create(EdmProviderManifest.
Instance
.GetPrimitiveType(PrimitiveTypeKind.String)),
System\Data\EntityModel\SchemaObjectModel\SchemaManager.cs (1)
75
DbProviderManifest providerManifest = checkForSystemNamespace ? EdmProviderManifest.
Instance
: null;
System\Data\Metadata\ClrPerspective.cs (1)
107
typeUsage = EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(primitiveType.PrimitiveTypeKind);
System\Data\Metadata\Edm\MetadataItem_Static.cs (1)
460
return EdmProviderManifest.
Instance
;
System\Data\Metadata\EdmItemCollection.cs (1)
413
EdmProviderManifest providerManifest = EdmProviderManifest.
Instance
;
System\Data\Metadata\MetadataWorkspace.cs (3)
1281
EdmProviderManifest.
Instance
.GetFacetDescriptions(clrType.BaseType)),
1357
return EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(primitiveTypeKind);
1367
return EdmProviderManifest.
Instance
.GetPrimitiveType(primitiveTypeKind);
System\Data\Metadata\TypeHelpers.cs (2)
217
IList<PrimitiveType> promotableTypes = EdmProviderManifest.
Instance
.GetPromotionTypes(fromPrimitiveType);
820
PrimitiveType primitiveType = EdmProviderManifest.
Instance
.GetPrimitiveType(primitiveTypeKind);
System\Data\Metadata\TypeSemantics.cs (5)
705
return EdmProviderManifest.
Instance
.ForgetScalarConstraints(type);
751
objectModel.ReadOnlyCollection<PrimitiveType> superTypes = EdmProviderManifest.
Instance
.GetPromotionTypes(subPrimitiveType);
1120
objectModel.ReadOnlyCollection<PrimitiveType> primitiveTypes = EdmProviderManifest.
Instance
.GetStoreTypes();
1126
commonTypeClosure[i, j] = Intersect(EdmProviderManifest.
Instance
.GetPromotionTypes(primitiveTypes[i]),
1127
EdmProviderManifest.
Instance
.GetPromotionTypes(primitiveTypes[j]));
System\Data\Objects\ELinq\ExpressionConverter.cs (3)
1030
type = EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(primitiveTypeKind);
1058
type = EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(primitiveTypeKind);
1392
var escapeExpression = DbExpressionBuilder.Constant(EdmProviderManifest.
Instance
.GetCanonicalModelTypeUsage(PrimitiveTypeKind.String), new String(new char[] { escapeChar }));
System\Data\Objects\ELinq\MethodCallTranslator.cs (1)
2000
TypeUsage intTypeUsage = TypeUsage.CreateDefaultTypeUsage(EdmProviderManifest.
Instance
.GetPrimitiveType(PrimitiveTypeKind.Int32));