16 references to Version2
System.Data.Entity.Design (16)
System\Data\Entity\Design\AspNet\EntityModelBuildProvider.cs (1)
116
return EntityFrameworkVersions.
Version2
;
System\Data\Entity\Design\EntityCodeGenerator.cs (2)
310
if (targetFrameworkVersion < EntityFrameworkVersions.
Version2
)
312
targetFrameworkVersion = EntityFrameworkVersions.
Version2
;
System\Data\Entity\Design\EntityFrameworkVersions.cs (6)
138
else if (entityFrameworkVersion == EntityFrameworkVersions.
Version2
)
156
else if (entityFrameworkVersion == EntityFrameworkVersions.
Version2
)
174
else if (entityFrameworkVersion == EntityFrameworkVersions.
Version2
)
185
internal static Version Default =
Version2
;
187
internal static Version[] ValidVersions = new Version[] { Version1,
Version2
, Version3 };
223
entityFrameworkVersion = EntityFrameworkVersions.
Version2
;
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (2)
318
if (this.GenerateForeignKeyProperties && this._targetEntityFrameworkVersion < EntityFrameworkVersions.
Version2
)
394
if (this._targetEntityFrameworkVersion >= EntityFrameworkVersions.
Version2
)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (2)
278
/// Store schema model is the one used in <see cref="EntityFrameworkVersions.
Version2
"/>.
285
return CreateStoreSchemaConnection(providerInvariantName, connectionString, EntityFrameworkVersions.
Version2
);
System\Data\Entity\Design\SSDLGenerator\EntityStoreSchemaGeneratorDatabaseSchemaLoader.cs (2)
43
foreach (var version in EntityFrameworkVersions.ValidVersions.Where(v => v > EntityFrameworkVersions.
Version2
).OrderByDescending(v => v))
59
storeSchemaModelVersion = EntityFrameworkVersions.
Version2
;
System\Data\EntityModel\EntityClassGenerator.cs (1)
318
if (EntityFrameworkVersionsUtil.ConvertToVersion(itemCollection.EdmVersion) >= EntityFrameworkVersions.
Version2
)