16 references to EntityFrameworkVersionsUtil
System.Data.Entity.Design (16)
System\Data\Entity\Design\EntityCodeGenerator.cs (1)
274
entityFrameworkVersion =
EntityFrameworkVersionsUtil
.ConvertToVersion(schemaVersion);
System\Data\Entity\Design\EntityFrameworkVersions.cs (4)
26
public static readonly Version Version1 =
EntityFrameworkVersionsUtil
.Version1;
27
public static readonly Version Version2 =
EntityFrameworkVersionsUtil
.Version2;
28
public static readonly Version Version3 =
EntityFrameworkVersionsUtil
.Version3;
30
internal static Version EdmVersion1_1 { get { return
EntityFrameworkVersionsUtil
.EdmVersion1_1; } }
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (3)
164
Version mappingVersion =
EntityFrameworkVersionsUtil
.ConvertToVersion(mappingCollection.MappingVersion);
170
Version edmVersion =
EntityFrameworkVersionsUtil
.ConvertToVersion(mappingCollection.EdmItemCollection.EdmVersion);
313
targetFrameworkVersion =
EntityFrameworkVersionsUtil
.ConvertToVersion(mappingCollection.EdmItemCollection.EdmVersion);
System\Data\Entity\Design\MetadataExtensionMethods.cs (4)
28
if (edmVersion ==
EntityFrameworkVersionsUtil
.Version3)
32
else if (edmVersion ==
EntityFrameworkVersionsUtil
.Version2)
36
else if (edmVersion ==
EntityFrameworkVersionsUtil
.Version1)
40
else if (edmVersion ==
EntityFrameworkVersionsUtil
.EdmVersion1_1)
System\Data\Entity\Design\MetadataItemCollectionFactory.cs (3)
68
ValidateActualVersionAgainstTarget(targetEntityFrameworkVersion,
EntityFrameworkVersionsUtil
.ConvertToVersion(edmItemCollection.EdmVersion), errors);
159
if (
EntityFrameworkVersionsUtil
.ConvertToVersion(edmCollection.EdmVersion) > targetEntityFrameworkVersion)
167
ValidateActualVersionAgainstTarget(targetEntityFrameworkVersion,
EntityFrameworkVersionsUtil
.ConvertToVersion(storageMappingItemCollection.MappingVersion), errors);
System\Data\EntityModel\EntityClassGenerator.cs (1)
318
if (
EntityFrameworkVersionsUtil
.ConvertToVersion(itemCollection.EdmVersion) >= EntityFrameworkVersions.Version2)