1 write to GenerateForeignKeyProperties
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (1)
1552
modelGen.
GenerateForeignKeyProperties
= this.GenerateForeignKeyProperties;
6 references to GenerateForeignKeyProperties
System.Data.Entity.Design (6)
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (6)
318
if (this.
GenerateForeignKeyProperties
&& this._targetEntityFrameworkVersion < EntityFrameworkVersions.Version2)
337
if (this.
GenerateForeignKeyProperties
|| !EntityStoreSchemaGenerator.IsFkPartiallyContainedInPK(((AssociationSet)storeSet).ElementType, out errorMessage))
788
if (isKey || this.
GenerateForeignKeyProperties
|| !session.FkProperties.TryGetValue(storeProperty, out association))
913
isFkAssociation = this.
GenerateForeignKeyProperties
|| RequiresModelReferentialConstraint(storeAssociationType);
953
if (this.
GenerateForeignKeyProperties
)
994
if (!this.
GenerateForeignKeyProperties
&& !RequiresModelReferentialConstraint(storeConstraint, toType))