2 writes to _targetEntityFrameworkVersion
System.Data.Entity.Design (2)
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (2)
202
_targetEntityFrameworkVersion
= EntityFrameworkVersions.Latest;
213
_targetEntityFrameworkVersion
= targetEntityFrameworkVersion;
9 references to _targetEntityFrameworkVersion
System.Data.Entity.Design (9)
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (9)
318
if (this.GenerateForeignKeyProperties && this.
_targetEntityFrameworkVersion
< EntityFrameworkVersions.Version2)
394
if (this.
_targetEntityFrameworkVersion
>= EntityFrameworkVersions.Version2)
468
Debug.Assert(
_targetEntityFrameworkVersion
!= null, "_targetEntityFrameworkVersion != null");
473
MetadataItemSerializer.WriteXml(writer, _edmItemCollection, _namespaceName,
_targetEntityFrameworkVersion
, namespacesPrefix);
477
MetadataItemSerializer.WriteXml(writer, _edmItemCollection, _namespaceName,
_targetEntityFrameworkVersion
);
487
Debug.Assert(
_targetEntityFrameworkVersion
!= null, "_targetEntityFrameworkVersion != null");
488
OneToOneMappingSerializer serializer = new OneToOneMappingSerializer(_mappingLookups, _storeEntityContainer, _modelEntityContainer,
_targetEntityFrameworkVersion
);
494
if (_storeFunctions == null || _storeFunctions.Length == 0 ||
_targetEntityFrameworkVersion
< EntityFrameworkVersions.Version3)
911
if (
_targetEntityFrameworkVersion
> EntityFrameworkVersions.Version1)