6 references to ConvertToVersion
System.Data.Entity.Design (6)
System\Data\Entity\Design\EntityCodeGenerator.cs (1)
274
entityFrameworkVersion = EntityFrameworkVersionsUtil.
ConvertToVersion
(schemaVersion);
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
164
Version mappingVersion = EntityFrameworkVersionsUtil.
ConvertToVersion
(mappingCollection.MappingVersion);
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)