7 writes to Direction
System.Web.DynamicData (7)
DynamicData\ModelProviders\DLinqAssociationProvider.cs (3)
93
Direction
= AssociationDirection.OneToMany;
96
Direction
= AssociationDirection.ManyToOne;
98
Direction
= AssociationDirection.OneToOne;
DynamicData\ModelProviders\EFAssociationProvider.cs (4)
37
Direction
= AssociationDirection.ManyToMany;
40
Direction
= AssociationDirection.OneToMany;
45
Direction
= AssociationDirection.ManyToOne;
48
Direction
= AssociationDirection.OneToOne;
11 references to Direction
System.Web.DynamicData (11)
DynamicData\MetaChildrenColumn.cs (1)
38
Provider.Association.
Direction
== AssociationDirection.ManyToMany;
DynamicData\MetaTable.cs (1)
371
switch (columnProvider.Association.
Direction
) {
DynamicData\ModelProviders\AssociationProvider.cs (3)
104
if (
Direction
== AssociationDirection.OneToMany ||
Direction
== AssociationDirection.ManyToMany) {
107
Direction
));
DynamicData\ModelProviders\DLinqAssociationProvider.cs (4)
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) {
DynamicData\ModelProviders\EFAssociationProvider.cs (2)
90
return
Direction
== AssociationDirection.OneToOne ||
Direction
== AssociationDirection.ManyToOne;