21 references to AssociationDirection
System.Web.DynamicData (21)
DynamicData\MetaChildrenColumn.cs (1)
38
Provider.Association.Direction ==
AssociationDirection
.ManyToMany;
DynamicData\MetaTable.cs (4)
372
case
AssociationDirection
.OneToOne:
373
case
AssociationDirection
.ManyToOne:
375
case
AssociationDirection
.ManyToMany:
376
case
AssociationDirection
.OneToMany:
DynamicData\ModelProviders\AssociationProvider.cs (3)
38
public virtual
AssociationDirection
Direction { get; protected set; }
104
if (Direction ==
AssociationDirection
.OneToMany || Direction ==
AssociationDirection
.ManyToMany) {
DynamicData\ModelProviders\DLinqAssociationProvider.cs (7)
22
Debug.Assert(Direction !=
AssociationDirection
.ManyToMany, "Many to Many is not supported by Linq to SQL");
58
if (Direction ==
AssociationDirection
.ManyToOne && !association.OtherKeyIsPrimaryKey) {
61
if (Direction ==
AssociationDirection
.OneToMany && !association.ThisKeyIsPrimaryKey) {
64
if (Direction ==
AssociationDirection
.OneToOne) {
93
Direction =
AssociationDirection
.OneToMany;
96
Direction =
AssociationDirection
.ManyToOne;
98
Direction =
AssociationDirection
.OneToOne;
DynamicData\ModelProviders\EFAssociationProvider.cs (6)
37
Direction =
AssociationDirection
.ManyToMany;
40
Direction =
AssociationDirection
.OneToMany;
45
Direction =
AssociationDirection
.ManyToOne;
48
Direction =
AssociationDirection
.OneToOne;
90
return Direction ==
AssociationDirection
.OneToOne || Direction ==
AssociationDirection
.ManyToOne;