16 references to EdmVersionForV2
System.Data.Entity (16)
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
893
if (mappingCollection.MappingVersion < XmlConstants.
EdmVersionForV2
)
System\Data\Common\Utils\MetadataHelper.cs (1)
841
if (schemaVersion < XmlConstants.
EdmVersionForV2
)
System\Data\EntityModel\SchemaObjectModel\EntityKeyElement.cs (1)
139
if ((primitivePropertyType.PrimitiveTypeKind == PrimitiveTypeKind.Binary && Schema.SchemaVersion < XmlConstants.
EdmVersionForV2
) ||
System\Data\EntityModel\SchemaObjectModel\FunctionImportElement.cs (1)
202
if (Schema.SchemaVersion >= XmlConstants.
EdmVersionForV2
)
System\Data\EntityModel\SchemaObjectModel\Relationship.cs (1)
214
if (this.Schema.DataModel == SchemaDataModelOption.EntityDataModel && this.Schema.SchemaVersion >= XmlConstants.
EdmVersionForV2
)
System\Data\EntityModel\SchemaObjectModel\Schema.cs (4)
188
SchemaVersion = XmlConstants.
EdmVersionForV2
;
317
Debug.Assert(this.SchemaVersion >= XmlConstants.
EdmVersionForV2
|| SchemaVersion == XmlConstants.UndefinedVersion, "Have you added a new Edm Version?");
326
if ((this.SchemaVersion >= XmlConstants.
EdmVersionForV2
) && (reader.NodeType == XmlNodeType.Attribute)
1170
if (this.SchemaVersion >= XmlConstants.
EdmVersionForV2
&& this.SchemaManager.SchemaTypes.ContainsKey(function.FQName))
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (1)
671
if (this._schema.SchemaVersion >= XmlConstants.
EdmVersionForV2
System\Data\EntityModel\SchemaObjectModel\SchemaManager.cs (1)
236
version = XmlConstants.
EdmVersionForV2
;
System\Data\EntityModel\SchemaObjectModel\XmlSchemaResource.cs (2)
91
if (schemaVersion >= XmlConstants.
EdmVersionForV2
)
128
if (schemaVersion >= XmlConstants.
EdmVersionForV2
)
System\Data\Mapping\MetadataMappingHasherVisitor.cs (1)
818
if (version >= XmlConstants.
EdmVersionForV2
)
System\Data\Metadata\EdmItemCollection.cs (1)
385
if (edmVersion == XmlConstants.EdmVersionForV1 || edmVersion == XmlConstants.EdmVersionForV1_1 || edmVersion == XmlConstants.
EdmVersionForV2
)
System\Data\Metadata\MetadataWorkspace.cs (1)
136
yield return XmlConstants.
EdmVersionForV2
;