Home
last modified time | relevance | path

Searched refs:RelationshipManager (Results 1 – 25 of 40) sorted by relevance

12

/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/Objects/Internal/
H A DBaseEntityWrapper.cs36 private readonly RelationshipManager _relationshipManager;
45 protected BaseEntityWrapper(TEntity entity, RelationshipManager relationshipManager) in BaseEntityWrapper()
69 …protected BaseEntityWrapper(TEntity entity, RelationshipManager relationshipManager, EntitySet ent… in BaseEntityWrapper()
79 RelationshipManager.SetWrappedOwner(this, entity); in BaseEntityWrapper()
84 RelationshipManager.AttachContextToRelatedEnds(context, entitySet, mergeOption); in BaseEntityWrapper()
90 public RelationshipManager RelationshipManager property in System.Data.Objects.Internal.BaseEntityWrapper
154 RelationshipManager.AttachContextToRelatedEnds(context, entitySet, mergeOption); in AttachContext()
171 RelationshipManager.ResetContextOnRelatedEnds(context, entitySet, mergeOption); in ResetContext()
191 RelationshipManager.DetachContextFromRelatedEnds(); in DetachContext()
H A DEntityWrapper.cs43 … : base(entity, RelationshipManager.Create(), key, entitySet, context, mergeOption, identityType, in EntityWrapperWithoutRelationships()
57 …: base(entity, RelationshipManager.Create(), propertyStrategy, changeTrackingStrategy, keyStrategy) in EntityWrapperWithoutRelationships()
104 … : base(entity, entity.RelationshipManager, key, entitySet, context, mergeOption, identityType, in EntityWrapperWithRelationships()
118 … : base(entity, entity.RelationshipManager, propertyStrategy, changeTrackingStrategy, keyStrategy) in EntityWrapperWithRelationships()
161 protected EntityWrapper(TEntity entity, RelationshipManager relationshipManager, in EntityWrapper()
194 …protected EntityWrapper(TEntity entity, RelationshipManager relationshipManager, EntityKey key, En… in EntityWrapper()
H A DIEntityWrapper.cs27 RelationshipManager RelationshipManager { get; } property
H A DNullEntityWrapper.cs38 public RelationshipManager RelationshipManager property in System.Data.Objects.Internal.NullEntityWrapper
H A DLightweightEntityWrapper.cs34 : base(entity, entity.RelationshipManager) in LightweightEntityWrapper()
57 … : base(entity, entity.RelationshipManager, entitySet, context, mergeOption, identityType) in LightweightEntityWrapper()
H A DLazyLoadBehavior.cs171 RelationshipManager relationshipManager = wrapper.RelationshipManager;
H A DEntityWrapperFactory.cs59 wrappedEntity.RelationshipManager.SetWrappedOwner(wrappedEntity, entity); in CreateNewWrapper()
257 RelationshipManager relManager = entityWithRelationships.RelationshipManager; in WrapEntityUsingStateManagerGettingEntry()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/Microsoft.Web.Http.Data.Test/Models/
H A DNorthwind.Designer.cs498 …return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection<Product>("northwi…
820 …return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection<Order>("northwind…
946 …return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection<Customer>("northw…
1498 …return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection<Order>("northwind…
1928 …return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Customer>("northwi…
1966 …return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Employee>("northwi…
2026 …return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Shipper>("northwin…
2229 …return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Order>("northwindM…
2879 …return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection<Order>("northwind…
3225 …return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection<Product>("northwi…
[all …]
/dports/lang/mono/mono-5.10.1.57/external/Newtonsoft.Json/Src/Newtonsoft.Json.Tests/
H A DFileSystemEntityModel.Designer.cs274 …return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Folder>("DataServi…
278 …((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Folder>("DataServicesTest…
290 …return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Folder>("DataServi…
296 …((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference<Folder>("DataServi…
448 …return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection<File>("DataServic…
454 …((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection<File>("DataServic…
470 …return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection<Folder>("DataServ…
492 …return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Folder>("DataServi…
496 …((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Folder>("DataServicesTest…
508 …return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Folder>("DataServi…
[all …]
/dports/devel/newtonsoft-json/Newtonsoft.Json-9.0.1/Src/Newtonsoft.Json.Tests/
H A DFileSystemEntityModel.Designer.cs280 …return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Folder>("DataServi…
284 …((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Folder>("DataServicesTest…
296 …return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Folder>("DataServi…
302 …((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference<Folder>("DataServi…
457 …return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection<File>("DataServic…
463 …((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection<File>("DataServic…
479 …return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection<Folder>("DataServ…
501 …return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Folder>("DataServi…
505 …((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Folder>("DataServicesTest…
517 …return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Folder>("DataServi…
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/Objects/DataClasses/
H A DEntityObject.cs30 private RelationshipManager _relationships;
155 RelationshipManager IEntityWithRelationships.RelationshipManager
161 _relationships = RelationshipManager.Create(this);
H A DIEntityWithRelationships.cs27 RelationshipManager RelationshipManager { get; } property
H A DIRelationshipFixer.cs25 …RelatedEnd CreateSourceEnd(RelationshipNavigation navigation, RelationshipManager relationshipMana… in CreateSourceEnd()
H A DRelationshipManager.cs27 public class RelationshipManager class
36 private RelationshipManager() in RelationshipManager() method in System.Data.Objects.DataClasses.RelationshipManager
143 public static RelationshipManager Create(IEntityWithRelationships owner) in Create()
146 RelationshipManager rm = new RelationshipManager(); in Create()
158 internal static RelationshipManager Create() in Create()
160 return new RelationshipManager(); in Create()
1118 foreach (RelatedEnd relatedEnd in wrappedEntity.RelationshipManager.Relationships) in RemoveRelatedEntitiesFromObjectStateManager()
H A DRelatedEnd.cs1319 entityToAdd.RelationshipManager.NodeVisited = true; in Add()
1320RelationshipManager.RemoveRelatedEntitiesFromObjectStateManager(entityToAdd); in Add()
1378 … wrappedEntity.RelationshipManager.CheckReferentialConstraintProperties(entry); in AddGraphToObjectStateManager()
1684 … wrappedEntity.RelationshipManager.CheckReferentialConstraintProperties(entry); in IncludeEntity()
1760 wrappedEntity.RelationshipManager.NodeVisited = true; in ExcludeEntity()
1762 RelationshipManager.RemoveRelatedEntitiesFromObjectStateManager(wrappedEntity); in ExcludeEntity()
2172 foreach (RelatedEnd relatedEnd in wrappedEntity.RelationshipManager.Relationships) in WalkObjectGraphToIncludeAllRelatedEntities()
2275 foreach (RelatedEnd relatedEnd in wrappedEntity1.RelationshipManager.Relationships) in RemoveEntityFromRelatedEnds()
2317 _wrappedOwner.RelationshipManager.NodeVisited = false; in AttachContext()
2485 …return (RelatedEnd)wrappedEntity.RelationshipManager.GetRelatedEnd(_navigation.Reverse, _relations… in GetOtherEndOfRelationship()
[all …]
H A DRelationshipFixer.cs38 …lationshipFixer.CreateSourceEnd(RelationshipNavigation navigation, RelationshipManager relationshi… in IRelationshipFixer.CreateSourceEnd()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/Metadata/Edm/
H A DAssociationEndMember.cs43 private Func<RelationshipManager, RelatedEnd, RelatedEnd> _getRelatedEndMethod = null;
46 internal Func<RelationshipManager, RelatedEnd, RelatedEnd> GetRelatedEnd
H A DLightweightCodeGenerator.cs94 …internal static RelatedEnd GetRelatedEnd(RelationshipManager sourceRelationshipManager, Associatio… in GetRelatedEnd()
96 … Func<RelationshipManager, RelatedEnd, RelatedEnd> getRelatedEnd = sourceMember.GetRelatedEnd; in GetRelatedEnd()
466 …private static Func<RelationshipManager, RelatedEnd, RelatedEnd> CreateGetRelatedEndMethod(Associa… in CreateGetRelatedEndMethod()
481 return (Func<RelationshipManager, RelatedEnd, RelatedEnd>)getRelatedEndDelegate; in CreateGetRelatedEndMethod()
484 …private static Func<RelationshipManager, RelatedEnd, RelatedEnd> CreateGetRelatedEndMethod<TSource…
488 Func<RelationshipManager, RelatedEnd, RelatedEnd> getRelatedEnd;
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/Objects/
H A DRelationshipEntry.cs213 override public RelationshipManager RelationshipManager property in System.Data.Objects.RelationshipEntry
518 … wrappedEntity1.RelationshipManager.RemoveEntity(toRole, relationshipName, wrappedEntity2); in Delete()
525 RelationshipManager relationshipManager = null; in Delete()
529 relationshipManager = wrappedEntity2.RelationshipManager; in Delete()
534 relationshipManager = wrappedEntity1.RelationshipManager; in Delete()
H A DEntityEntry.cs468 RelationshipManager.CheckReferentialConstraintProperties(this); in AcceptChanges()
483 RelationshipManager.CheckReferentialConstraintProperties(this); in AcceptChanges()
514 override public RelationshipManager RelationshipManager property in System.Data.Objects.EntityEntry
527 return WrappedEntity.RelationshipManager;
2128 RelationshipManager rm = this._wrappedEntity.RelationshipManager; in TakeSnapshotOfRelationships()
2415 RelationshipManager relationshipManager = _wrappedEntity.RelationshipManager; in Detach()
2571 private void DetachRelationshipsEntries(RelationshipManager relationshipManager) in DetachRelationshipsEntries()
2619 RelationshipManager relationshipManager = _wrappedEntity.RelationshipManager; in FixupRelationships()
2674 RelationshipManager relationshipManager = _wrappedEntity.RelationshipManager; in RetrieveAndCheckReferentialConstraintValuesInAcceptChanges()
3061 this.WrappedEntity.RelationshipManager.VerifyIsNotRelated(); in VerifyIsNotRelated()
[all …]
H A DObjectStateEntry.cs212 abstract public RelationshipManager RelationshipManager property in System.Data.Objects.ObjectStateEntry
H A DObjectStateManager.cs425 wrappedObject.RelationshipManager.ClearRelatedEndWrappers(); in AddEntry()
612 if (entry.RelationshipManager.HasRelationships) in ForgetEntryWithConceptualNull()
614 foreach (RelatedEnd end in entry.RelationshipManager.Relationships) in ForgetEntryWithConceptualNull()
1428 wrappedObject.RelationshipManager.ClearRelatedEndWrappers(); in AttachEntry()
2630 public RelationshipManager GetRelationshipManager(object entity) in GetRelationshipManager()
2632 RelationshipManager rm; in GetRelationshipManager()
2651 … public bool TryGetRelationshipManager(object entity, out RelationshipManager relationshipManager) in TryGetRelationshipManager()
2657 relationshipManager = withRelationships.RelationshipManager; in TryGetRelationshipManager()
2675 relationshipManager = wrappedEntity.RelationshipManager; in TryGetRelationshipManager()
3343 … foreach (RelatedEnd relatedEnd in entry.WrappedEntity.RelationshipManager.Relationships) in PerformAdd()
[all …]
H A DObjectContext.cs648 RelationshipManager relationshipManager = wrappedEntity.RelationshipManager; in AddObject()
675RelationshipManager.RemoveRelatedEntitiesFromObjectStateManager(wrappedEntity); in AddObject()
751 wrappedEntity.RelationshipManager.GetRelatedEnd(navigationProperty).Load(); in LoadProperty()
767 wrappedEntity.RelationshipManager.GetRelatedEnd(navigationProperty).Load(mergeOption); in LoadProperty()
791 …wrappedEntity.RelationshipManager.GetRelatedEnd(navProp, throwArgumentException: removedConvert).L… in LoadProperty()
816 …wrappedEntity.RelationshipManager.GetRelatedEnd(navProp, throwArgumentException: removedConvert).L… in LoadProperty()
1030 RelationshipManager relationshipManager = wrappedEntity.RelationshipManager; in AttachTo()
1059RelationshipManager.RemoveRelatedEntitiesFromObjectStateManager(wrappedEntity); in AttachTo()
1101 RelationshipManager relationshipManager = wrappedEntity.RelationshipManager; in AttachSingleObject()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web.Entity/System/Data/WebControls/
H A DEntityDataSourceWrapper.cs61 internal RelationshipManager RelationshipManager property in System.Web.UI.WebControls.EntityDataSourceWrapper
65 return this._stateEntry.RelationshipManager;
H A DEntityDataSourceReferenceGroup.cs133 RelationshipManager relationshipManager = entity.RelationshipManager; in GetRelatedReference()

12