Home
last modified time | relevance | path

Searched refs:relatedEnd (Results 1 – 19 of 19) sorted by relevance

/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/Objects/Internal/
H A DPocoPropertyAccessorStrategy.cs45 if (relatedEnd != null) in GetNavigationPropertyValue()
49 Type type = GetDeclaringType(relatedEnd); in GetNavigationPropertyValue()
77 if (relatedEnd != null) in SetNavigationPropertyValue()
81 Type type = GetDeclaringType(relatedEnd); in SetNavigationPropertyValue()
103 if (relatedEnd.NavigationProperty != null) in GetDeclaringType()
111 return relatedEnd.WrappedOwner.IdentityType; in GetDeclaringType()
155 collection = CollectionCreate(relatedEnd); in CollectionAdd()
161 if (collection == relatedEnd) in CollectionAdd()
168relatedEnd.TargetAccessor.CollectionAdd = CreateCollectionAddFunction(entity.GetType(), relatedEnd in CollectionAdd()
220 if (collection == relatedEnd) in CollectionRemove()
[all …]
H A DEntityWrapper.cs243 public override void CollectionAdd(RelatedEnd relatedEnd, object value) in CollectionAdd() argument
247 _propertyStrategy.CollectionAdd(relatedEnd, value); in CollectionAdd()
251 public override bool CollectionRemove(RelatedEnd relatedEnd, object value) in CollectionRemove() argument
257 public override void EnsureCollectionNotNull(RelatedEnd relatedEnd) in EnsureCollectionNotNull() argument
261 object collection = _propertyStrategy.GetNavigationPropertyValue(relatedEnd); in EnsureCollectionNotNull()
264 collection = _propertyStrategy.CollectionCreate(relatedEnd); in EnsureCollectionNotNull()
265 _propertyStrategy.SetNavigationPropertyValue(relatedEnd, collection); in EnsureCollectionNotNull()
271 public override object GetNavigationPropertyValue(RelatedEnd relatedEnd) in GetNavigationPropertyValue() argument
277 public override void SetNavigationPropertyValue(RelatedEnd relatedEnd, object value) in SetNavigationPropertyValue() argument
281 _propertyStrategy.SetNavigationPropertyValue(relatedEnd, value); in SetNavigationPropertyValue()
[all …]
H A DIPropertyAccessorStrategy.cs25 object GetNavigationPropertyValue(RelatedEnd relatedEnd); in GetNavigationPropertyValue() argument
32 void SetNavigationPropertyValue(RelatedEnd relatedEnd, object value); in SetNavigationPropertyValue() argument
39 void CollectionAdd(RelatedEnd relatedEnd, object value); in CollectionAdd() argument
47 bool CollectionRemove(RelatedEnd relatedEnd, object value); in CollectionRemove() argument
54 object CollectionCreate(RelatedEnd relatedEnd); in CollectionCreate() argument
H A DIEntityWrapper.cs50 void EnsureCollectionNotNull(RelatedEnd relatedEnd); in EnsureCollectionNotNull() argument
131 void CollectionAdd(RelatedEnd relatedEnd, object value); in CollectionAdd() argument
139 bool CollectionRemove(RelatedEnd relatedEnd, object value); in CollectionRemove() argument
146 object GetNavigationPropertyValue(RelatedEnd relatedEnd); in GetNavigationPropertyValue() argument
154 void SetNavigationPropertyValue(RelatedEnd relatedEnd, object value); in SetNavigationPropertyValue() argument
165 void RemoveNavigationPropertyValue(RelatedEnd relatedEnd, object value); in RemoveNavigationPropertyValue() argument
H A DNullEntityWrapper.cs67 public void CollectionAdd(RelatedEnd relatedEnd, object value) in CollectionAdd() argument
72 public bool CollectionRemove(RelatedEnd relatedEnd, object value) in CollectionRemove() argument
158 public void EnsureCollectionNotNull(RelatedEnd relatedEnd) in EnsureCollectionNotNull() argument
163 public object GetNavigationPropertyValue(RelatedEnd relatedEnd) in GetNavigationPropertyValue() argument
169 public void SetNavigationPropertyValue(RelatedEnd relatedEnd, object value) in SetNavigationPropertyValue() argument
174 public void RemoveNavigationPropertyValue(RelatedEnd relatedEnd, object value) in RemoveNavigationPropertyValue() argument
H A DLightweightEntityWrapper.cs108 public override void CollectionAdd(RelatedEnd relatedEnd, object value) in CollectionAdd() argument
113 public override bool CollectionRemove(RelatedEnd relatedEnd, object value) in CollectionRemove() argument
119 public override void SetNavigationPropertyValue(RelatedEnd relatedEnd, object value) in SetNavigationPropertyValue() argument
124 public override void RemoveNavigationPropertyValue(RelatedEnd relatedEnd, object value) in RemoveNavigationPropertyValue() argument
129 public override void EnsureCollectionNotNull(RelatedEnd relatedEnd) in EnsureCollectionNotNull() argument
134 public override object GetNavigationPropertyValue(RelatedEnd relatedEnd) in GetNavigationPropertyValue() argument
H A DBaseEntityWrapper.cs215 public abstract void EnsureCollectionNotNull(RelatedEnd relatedEnd); in EnsureCollectionNotNull() argument
225 public abstract object GetNavigationPropertyValue(RelatedEnd relatedEnd); in GetNavigationPropertyValue() argument
226 public abstract void SetNavigationPropertyValue(RelatedEnd relatedEnd, object value); in SetNavigationPropertyValue() argument
227 public abstract void RemoveNavigationPropertyValue(RelatedEnd relatedEnd, object value); in RemoveNavigationPropertyValue() argument
228 public abstract void CollectionAdd(RelatedEnd relatedEnd, object value); in CollectionAdd() argument
229 public abstract bool CollectionRemove(RelatedEnd relatedEnd, object value); in CollectionRemove() argument
H A DForeignKeyFactory.cs77 …c static EntityKey CreateKeyFromForeignKeyValues(EntityEntry dependentEntry, RelatedEnd relatedEnd) in CreateKeyFromForeignKeyValues() argument
80 …ReferentialConstraint constraint = ((AssociationType)relatedEnd.RelationMetadata).ReferentialConst… in CreateKeyFromForeignKeyValues()
81 …Debug.Assert(constraint.FromRole.Identity == relatedEnd.TargetRoleName, "Unexpected constraint rol… in CreateKeyFromForeignKeyValues()
82 …return CreateKeyFromForeignKeyValues(dependentEntry, constraint, relatedEnd.GetTargetEntitySetFrom… in CreateKeyFromForeignKeyValues()
H A DLazyLoadBehavior.cs175 …RelatedEnd relatedEnd = relationshipManager.GetRelatedEndInternal(relationshipName, targetRoleName…
176 relatedEnd.DeferredLoad();
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/Objects/DataClasses/
H A DRelationshipManager.cs210 RelatedEnd relatedEnd; field in System.Data.Objects.DataClasses.RelationshipManager.TTargetEntity
346 RelatedEnd relatedEnd; field in System.Data.Objects.DataClasses.RelationshipManager.TTargetEntity
440 if (relatedEnd == null) in GetRelatedEndInternal()
446 return relatedEnd; in GetRelatedEndInternal()
545 RelatedEnd relatedEnd; field in System.Data.Objects.DataClasses.RelationshipManager.__anon2
905 RelatedEnd relatedEnd; in GetRelatedEnd()
909 return relatedEnd; in GetRelatedEnd()
916 return relatedEnd; in GetRelatedEnd()
977 return relatedEnd;
1196 RelatedEnd relatedEnd; in RemoveEntity()
[all …]
H A DEntityReference_TResultType.cs139 RelatedEnd relatedEnd = GetOtherEndOfRelationship(_wrappedCachedValue);
140 relatedEnd.OnRelatedEndClear();
328 …RelatedEnd relatedEnd = wrappedTarget.RelationshipManager.GetRelatedEndInternal(RelationshipName, … in IncludeEntityKey()
329 …FromEndProperty.RelationshipMultiplicity != RelationshipMultiplicity.Many && !relatedEnd.IsEmpty()) in IncludeEntityKey()
692 internal void InitializeWithValue(RelatedEnd relatedEnd) in InitializeWithValue() argument
695 EntityReference<TEntity> reference = relatedEnd as EntityReference<TEntity>; in InitializeWithValue()
H A DRelatedEnd.cs1406 RelatedEnd relatedEnd = GetOtherEndOfRelationship(wrappedEntity); in Remove()
1407 relatedEnd.RemoveFromNavigationProperty(this.WrappedOwner); in Remove()
1426 RelatedEnd relatedEnd = GetOtherEndOfRelationship(wrappedEntity); in Remove()
2024 RelatedEnd relatedEnd = GetOtherEndOfRelationship(wrappedEntity); in DetachAll()
2041 RelatedEnd relatedEnd = GetOtherEndOfRelationship(wrappedEntity); in DetachAll()
2172 foreach (RelatedEnd relatedEnd in wrappedEntity.RelationshipManager.Relationships) in WalkObjectGraphToIncludeAllRelatedEntities()
2174 relatedEnd.Include(addRelationshipAsUnchanged, doAttach); in WalkObjectGraphToIncludeAllRelatedEntities()
2216 RelatedEnd relatedEnd = GetOtherEndOfRelationship(wrappedEntity); in FixupOtherEndOfRelationshipForRemove()
2218 relatedEnd.RemoveFromNavigationProperty(_wrappedOwner); in FixupOtherEndOfRelationshipForRemove()
2279 …doCascadeDelete = CheckCascadeDeleteFlag(relatedEnd.FromEndProperty) || relatedEnd.IsPrincipalEndO… in RemoveEntityFromRelatedEnds()
[all …]
H A DEntityCollection.cs653 RelatedEnd relatedEnd = GetOtherEndOfRelationship(wrappedEntity); in Clear()
654 relatedEnd.OnRelatedEndClear(); in Clear()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/Objects/
H A DObjectStateManager.cs758 Debug.Assert(relatedEnd != null); in TrackPromotedRelationship()
856 relatedEnd.RemoveAll(); in AddEntityToCollectionOrReference()
895 relatedEnd.Add(wrappedTarget, in AddEntityToCollectionOrReference()
934 relatedEnd.SetIsLoaded(true); in UpdateRelatedEnd()
980 if (!relatedEnd.IsEmpty()) in UpdateRelationships()
984 …throw EntityUtil.CannotFillTryDifferentMergeOption(relatedEnd.SourceRoleName, relatedEnd.Relations… in UpdateRelationships()
2277 RelatedEnd relatedEnd, in ChangeRelationshipState() argument
2328 if (relatedEnd.IsForeignKey) in VerifyInitialStateForChangeRelationshipState()
3420 relatedEnd.ValidateStateForAdd(relatedEnd.WrappedOwner); in PerformAdd()
3446 relatedEnd.Add(entityToAdd, in PerformAdd()
[all …]
H A DEntityEntry.cs2238 if (!relatedEnd.ContainsEntity(relatedWrapper)) in TakeSnapshotOfSingleRelationship()
2240 relatedEnd.AddToLocalCache(relatedWrapper, true); in TakeSnapshotOfSingleRelationship()
2369 RelatedEnd relatedEnd) in AddDetectedRelationship() argument
2387 if (relatedEnd is EntityReference) in AddDetectedRelationship()
2544 relatedEnd.NullAllForeignKeys(); in NullAllForeignKeys()
3536 relatedEnd.SetCachedForeignKey(foreignKey, this); in FixupEntityReferenceToPrincipal()
3575 relatedEnd.SetIsLoaded(true); in FixupEntityReferenceToPrincipal()
3590 …if (replaceExistingRef && (relatedEnd.ReferenceValue.Entity != null || relatedEnd.EntityKey != nul… in FixupEntityReferenceToPrincipal()
3601 relatedEnd.SetIsLoaded(true); in FixupEntityReferenceToPrincipal()
3656 … if (relatedEnd.CachedValue.Entity == null || relatedEnd.CachedValue.ObjectStateEntry == null) in TryGetReferenceKey()
[all …]
H A DRelationshipEntry.cs606 …internal void ChangeRelationshipState(EntityEntry targetEntry, RelatedEnd relatedEnd, EntityState … in ChangeRelationshipState() argument
666 relatedEnd.Add(targetEntry.WrappedEntity, in ChangeRelationshipState()
676 relatedEnd.Add(targetEntry.WrappedEntity, in ChangeRelationshipState()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/Common/Internal/Materialization/
H A DShaper.cs398 RelatedEnd relatedEnd; in HandleRelationshipSpan()
401 SetIsLoadedForSpan(relatedEnd, false); in HandleRelationshipSpan()
483relatedEnd = LightweightCodeGenerator.GetRelatedEnd(wrappedEntity.RelationshipManager, sourceEnd, … in TryGetRelatedEnd()
488 relatedEnd = null; in TryGetRelatedEnd()
496 private void SetIsLoadedForSpan(RelatedEnd relatedEnd, bool forceToTrue) in SetIsLoadedForSpan() argument
498 Debug.Assert(relatedEnd != null, "RelatedEnd should not be null"); in SetIsLoadedForSpan()
509 forceToTrue = relatedEnd.IsEmpty(); in SetIsLoadedForSpan()
510 EntityReference reference = relatedEnd as EntityReference; in SetIsLoadedForSpan()
518 relatedEnd.SetIsLoaded(true); in SetIsLoadedForSpan()
728 RelatedEnd relatedEnd; in FullSpanAction()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/Metadata/Edm/
H A DLightweightCodeGenerator.cs496 getRelatedEnd = (manager, relatedEnd) =>
503 relatedEnd);
509 getRelatedEnd = (manager, relatedEnd) =>
516 relatedEnd);
/dports/www/mythplugin-mythweb/mythweb-31.0/classes/
H A Dvcalendar.php3794 * @param bool $relatedEnd optional
3801 …=FALSE, $day=FALSE, $week=FALSE, $hour=FALSE, $min=FALSE, $sec=FALSE, $relatedEnd=FALSE, $after=FA… argument
3827 $relatedEnd = $month;
3887 $relatedEnd = TRUE;
3889 $relatedEnd = FALSE;
3892 , 'relatedstart' => !$relatedEnd
3900 , 'relatedstart' => !$relatedEnd