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)
318if (this.GenerateForeignKeyProperties && this._targetEntityFrameworkVersion < EntityFrameworkVersions.Version2) 394if (this._targetEntityFrameworkVersion >= EntityFrameworkVersions.Version2) 468Debug.Assert(_targetEntityFrameworkVersion != null, "_targetEntityFrameworkVersion != null"); 473MetadataItemSerializer.WriteXml(writer, _edmItemCollection, _namespaceName, _targetEntityFrameworkVersion, namespacesPrefix); 477MetadataItemSerializer.WriteXml(writer, _edmItemCollection, _namespaceName, _targetEntityFrameworkVersion); 487Debug.Assert(_targetEntityFrameworkVersion != null, "_targetEntityFrameworkVersion != null"); 488OneToOneMappingSerializer serializer = new OneToOneMappingSerializer(_mappingLookups, _storeEntityContainer, _modelEntityContainer, _targetEntityFrameworkVersion); 494if (_storeFunctions == null || _storeFunctions.Length == 0 || _targetEntityFrameworkVersion < EntityFrameworkVersions.Version3) 911if (_targetEntityFrameworkVersion > EntityFrameworkVersions.Version1)