70 references to Many
System.Data.Entity (51)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (1)
2036
if (RelationshipMultiplicity.
Many
== end.RelationshipMultiplicity)
System\Data\Common\Internal\Materialization\Shaper.cs (1)
346
case RelationshipMultiplicity.
Many
:
System\Data\Common\Utils\MetadataHelper.cs (2)
554
endMember.RelationshipMultiplicity == RelationshipMultiplicity.
Many
) // some other end has multiplicity 0..*
721
if (multiplicity == RelationshipMultiplicity.
Many
||
System\Data\EntityModel\SchemaObjectModel\ReferentialConstraint.cs (4)
103
: RelationshipMultiplicity.
Many
;
111
if (principalRoleEnd.Multiplicity == RelationshipMultiplicity.
Many
)
172
if (dependentRoleEnd.Multiplicity == RelationshipMultiplicity.
Many
)
181
else if (dependentRoleEnd.Multiplicity != RelationshipMultiplicity.
Many
)
System\Data\EntityModel\SchemaObjectModel\RelationshipEnd.cs (2)
108
if (Multiplicity == RelationshipMultiplicity.
Many
&& Operations.Count != 0)
280
multiplicity = RelationshipMultiplicity.
Many
;
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryKB.cs (1)
117
Debug.Assert(constraint.ToRole.RelationshipMultiplicity.Equals(RelationshipMultiplicity.
Many
) == false);
System\Data\Mapping\ViewGeneration\Structures\LeafCellTreeNode.cs (1)
212
if (foreignKeyEndMap == null || foreignKeyEndMap.EndMember.RelationshipMultiplicity == RelationshipMultiplicity.
Many
)
System\Data\Mapping\ViewGeneration\Validation\ForeignConstraint.cs (1)
461
if (parentEnd.RelationshipMultiplicity == RelationshipMultiplicity.
Many
)
System\Data\Metadata\Converter.cs (2)
803
if (somRelationshipEnd.Multiplicity == RelationshipMultiplicity.
Many
)
809
Debug.Assert(somRelationshipEnd.Multiplicity != RelationshipMultiplicity.
Many
);
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (1)
507
case RelationshipMultiplicity.
Many
:
System\Data\Metadata\Helper.cs (2)
162
((it.RelationshipMultiplicity.Equals(RelationshipMultiplicity.
Many
))
172
((it.RelationshipMultiplicity.Equals(RelationshipMultiplicity.
Many
))));
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (1)
426
bool needsSetter = cspaceProperty.ToEndMember.RelationshipMultiplicity != RelationshipMultiplicity.
Many
;
System\Data\Objects\DataClasses\EntityReference_TResultType.cs (2)
300
if (FromEndProperty.RelationshipMultiplicity != RelationshipMultiplicity.
Many
)
329
if (FromEndProperty.RelationshipMultiplicity != RelationshipMultiplicity.
Many
&& !relatedEnd.IsEmpty())
System\Data\Objects\DataClasses\RelatedEnd.cs (1)
1998
_fromEndProperty.RelationshipMultiplicity == RelationshipMultiplicity.
Many
;
System\Data\Objects\DataClasses\RelationshipManager.cs (3)
228
return CreateRelatedEnd<TSourceEntity, TTargetEntity>(navigation, sourceRoleMultiplicity, RelationshipMultiplicity.
Many
, existingRelatedEnd) as EntityCollection<TTargetEntity>;
244
collection = CreateRelatedEnd<TSourceEntity, TTargetEntity>(navigation, sourceRoleMultiplicity, RelationshipMultiplicity.
Many
, existingRelatedEnd) as EntityCollection<TTargetEntity>;
952
case RelationshipMultiplicity.
Many
:
System\Data\Objects\EntityEntry.cs (3)
2142
if (n.ToEndMember.RelationshipMultiplicity == RelationshipMultiplicity.
Many
)
2265
if (n.ToEndMember.RelationshipMultiplicity == RelationshipMultiplicity.
Many
)
2608
if (multiplicity == RelationshipMultiplicity.
Many
)
System\Data\Objects\Internal\EntityProxyFactory.cs (2)
1104
if (multiplicity == RelationshipMultiplicity.
Many
)
1210
if (navProperty.ToEndMember.RelationshipMultiplicity == RelationshipMultiplicity.
Many
)
System\Data\Objects\Internal\LazyLoadBehavior.cs (2)
75
if (multiplicity == RelationshipMultiplicity.
Many
)
130
if (multiplicity == RelationshipMultiplicity.
Many
)
System\Data\Objects\ObjectStateManager.cs (4)
815
if (targetMember.RelationshipMultiplicity != RelationshipMultiplicity.
Many
)
1033
case RelationshipMultiplicity.
Many
:
1089
if (endMember != null && endMember.RelationshipMultiplicity == RelationshipMultiplicity.
Many
)
1263
case RelationshipMultiplicity.
Many
:
System\Data\Query\InternalTrees\Command.cs (1)
1814
if (relProperty.ToEnd.RelationshipMultiplicity != RelationshipMultiplicity.
Many
&&
System\Data\Query\InternalTrees\RelPropertyHelper.cs (1)
126
if (toEnd.RelationshipMultiplicity == RelationshipMultiplicity.
Many
)
System\Data\Query\PlanCompiler\JoinGraph.cs (1)
2003
if (joinEdge.JoinKind == JoinKind.LeftOuter && fkConstraint.ChildMultiplicity == md.RelationshipMultiplicity.
Many
)
System\Data\Query\PlanCompiler\PreProcessor.cs (12)
503
if (navigateOp.ToEnd.RelationshipMultiplicity != RelationshipMultiplicity.
Many
)
549
if (navigateOp.ToEnd.RelationshipMultiplicity == RelationshipMultiplicity.
Many
)
839
PlanCompiler.Assert(relProperty.FromEnd.RelationshipMultiplicity != RelationshipMultiplicity.
Many
,
909
PlanCompiler.Assert(relProperty.ToEnd.RelationshipMultiplicity == RelationshipMultiplicity.
Many
&&
910
relProperty.FromEnd.RelationshipMultiplicity == RelationshipMultiplicity.
Many
,
976
PlanCompiler.Assert(m_command.IsRelPropertyReferenced(relProperty) || (relProperty.ToEnd.RelationshipMultiplicity == RelationshipMultiplicity.
Many
),
980
if ((relProperty.FromEnd.RelationshipMultiplicity == RelationshipMultiplicity.
Many
) &&
981
(relProperty.ToEnd.RelationshipMultiplicity != RelationshipMultiplicity.
Many
))
994
if (relProperty.ToEnd.RelationshipMultiplicity == RelationshipMultiplicity.
Many
)
1007
if (relProperty.ToEnd.RelationshipMultiplicity == RelationshipMultiplicity.
Many
)
1010
if (relProperty.FromEnd.RelationshipMultiplicity == RelationshipMultiplicity.
Many
)
1255
if (navProperty.ToEndMember.RelationshipMultiplicity == RelationshipMultiplicity.
Many
)
System.Data.Entity.Design (9)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (1)
342
case RelationshipMultiplicity.
Many
:
System\Data\Entity\Design\Common\OneToOneMappingSerializer.cs (1)
123
if (multiplicity != RelationshipMultiplicity.
Many
)
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (1)
963
storeConstraint.ToRole.RelationshipMultiplicity == RelationshipMultiplicity.
Many
&&
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (1)
801
RelationshipMultiplicity fkMultiplicity = RelationshipMultiplicity.
Many
;
System\Data\Entity\Design\PluralizationService\EntityDesignPluralizationHandler.cs (1)
58
return toEnd.RelationshipMultiplicity == RelationshipMultiplicity.
Many
?
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (4)
60
if (Item.ToEndMember.RelationshipMultiplicity != RelationshipMultiplicity.
Many
)
143
if (target.RelationshipMultiplicity != RelationshipMultiplicity.
Many
)
319
else if (target.RelationshipMultiplicity == RelationshipMultiplicity.
Many
)
347
if (target.RelationshipMultiplicity != RelationshipMultiplicity.
Many
)
System.Data.Services (3)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (3)
1692
if (RelationshipMultiplicity.
Many
== multiplicity)
2072
if (association.RelationshipEndMembers[0].RelationshipMultiplicity == RelationshipMultiplicity.
Many
||
2073
association.RelationshipEndMembers[1].RelationshipMultiplicity == RelationshipMultiplicity.
Many
)
System.Data.Services.Design (3)
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (3)
54
EmitField(typeDecl, GetReturnType(Item.ToEndMember), Item.ToEndMember.RelationshipMultiplicity == RelationshipMultiplicity.
Many
);
138
if (target.RelationshipMultiplicity != RelationshipMultiplicity.
Many
)
317
if (target.RelationshipMultiplicity == RelationshipMultiplicity.
Many
)
System.Web.DynamicData (3)
DynamicData\ModelProviders\EFAssociationProvider.cs (3)
35
if (navigationProperty.ToEndMember.RelationshipMultiplicity == RelationshipMultiplicity.
Many
) {
36
if (navigationProperty.FromEndMember.RelationshipMultiplicity == RelationshipMultiplicity.
Many
) {
44
if (navigationProperty.FromEndMember.RelationshipMultiplicity == RelationshipMultiplicity.
Many
) {
System.Web.Entity.Design (1)
System\Data\WebControls\Design\EntityDataSourceDataSelection.cs (1)
617
if (navProp.ToEndMember.RelationshipMultiplicity != RelationshipMultiplicity.
Many
)