1 implementation of Multiplicity
System.Data.Entity (1)
System\Data\EntityModel\SchemaObjectModel\RelationshipEnd.cs (1)
54
public RelationshipMultiplicity?
Multiplicity
2 writes to Multiplicity
System.Data.Entity (2)
System\Data\EntityModel\SchemaObjectModel\ReferentialConstraint.cs (2)
104
principalRoleEnd.
Multiplicity
= principalRoleEnd.Multiplicity ?? expectedPrincipalMultiplicity;
105
dependentRoleEnd.
Multiplicity
= dependentRoleEnd.Multiplicity ?? expectedDependentMultiplicity;
12 references to Multiplicity
System.Data.Entity (12)
System\Data\EntityModel\SchemaObjectModel\ReferentialConstraint.cs (8)
104
principalRoleEnd.Multiplicity = principalRoleEnd.
Multiplicity
?? expectedPrincipalMultiplicity;
105
dependentRoleEnd.Multiplicity = dependentRoleEnd.
Multiplicity
?? expectedDependentMultiplicity;
111
if (principalRoleEnd.
Multiplicity
== RelationshipMultiplicity.Many)
118
&& principalRoleEnd.
Multiplicity
== RelationshipMultiplicity.One)
129
&& principalRoleEnd.
Multiplicity
!= RelationshipMultiplicity.One)
148
if (dependentRoleEnd.
Multiplicity
== RelationshipMultiplicity.One && Schema.DataModel == SchemaDataModelOption.ProviderDataModel)
172
if (dependentRoleEnd.
Multiplicity
== RelationshipMultiplicity.Many)
181
else if (dependentRoleEnd.
Multiplicity
!= RelationshipMultiplicity.Many)
System\Data\Metadata\Converter.cs (4)
557
end.
Multiplicity
.Value);
803
if (somRelationshipEnd.
Multiplicity
== RelationshipMultiplicity.Many)
809
Debug.Assert(somRelationshipEnd.
Multiplicity
!= RelationshipMultiplicity.Many);
814
if (somRelationshipEnd.
Multiplicity
== RelationshipMultiplicity.One)