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