Home
last modified time | relevance | path

Searched refs:MergeOption (Results 1 – 25 of 170) sorted by relevance

1234567

/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/Objects/Internal/
H A DBaseEntityWrapper.cs83 MergeOption = mergeOption; in BaseEntityWrapper()
106 public MergeOption MergeOption property in System.Data.Objects.Internal.BaseEntityWrapper
110 … return (_flags & WrapperFlags.NoTracking) != 0 ? MergeOption.NoTracking : MergeOption.AppendOnly;
114 …Debug.Assert(value == MergeOption.AppendOnly || value == MergeOption.NoTracking, "Merge option mus…
115 if (value == MergeOption.NoTracking)
151 MergeOption = mergeOption; in AttachContext()
159 … public void ResetContext(ObjectContext context, EntitySet entitySet, MergeOption mergeOption) in ResetContext()
163 Debug.Assert(MergeOption.NoTracking == mergeOption || in ResetContext()
164 MergeOption.AppendOnly == mergeOption, in ResetContext()
170 MergeOption = mergeOption; in ResetContext()
[all …]
H A DObjectQueryState.cs37 internal static readonly MergeOption DefaultMergeOption = MergeOption.AppendOnly;
62 private MergeOption? _userMergeOption;
154 internal MergeOption EffectiveMergeOption
166 return plan.MergeOption;
178 internal MergeOption? UserSpecifiedMergeOption
250 internal abstract ObjectQueryExecutionPlan GetExecutionPlan(MergeOption? forMergeOption);
276 protected static MergeOption EnsureMergeOption(params MergeOption?[] preferredMergeOptions)
278 foreach (MergeOption? preferred in preferredMergeOptions)
294 protected static MergeOption? GetMergeOption(params MergeOption?[] preferredMergeOptions)
296 foreach (MergeOption? preferred in preferredMergeOptions)
H A DNullEntityWrapper.cs110 public MergeOption MergeOption property in System.Data.Objects.Internal.NullEntityWrapper
115 return MergeOption.NoTracking;
119 … public void AttachContext(ObjectContext context, EntitySet entitySet, MergeOption mergeOption) in AttachContext()
124 … public void ResetContext(ObjectContext context, EntitySet entitySet, MergeOption mergeOption) in ResetContext()
H A DIEntityWrapper.cs72 MergeOption MergeOption { get; } property
80 void AttachContext(ObjectContext context, EntitySet entitySet, MergeOption mergeOption); in AttachContext()
88 void ResetContext(ObjectContext context, EntitySet entitySet, MergeOption mergeOption); in ResetContext()
H A DObjectQueryExecutionPlan.cs31 internal readonly MergeOption MergeOption; field in System.Data.Objects.Internal.ObjectQueryExecutionPlan
37 …ndDefinition, ShaperFactory resultShaperFactory, TypeUsage resultType, MergeOption mergeOption, En… in ObjectQueryExecutionPlan()
46 this.MergeOption = mergeOption; in ObjectQueryExecutionPlan()
51 …pare(ObjectContext context, DbQueryCommandTree tree, Type elementType, MergeOption mergeOption, Sp… in Prepare()
192 …er = shaperFactory.Create(storeReader, context, context.MetadataWorkspace, this.MergeOption, true); in Execute()
220 …eCommandTree<TResultType>(ObjectContext context, DbQueryCommandTree query, MergeOption mergeOption) in ExecuteCommandTree()
H A DEntitySqlQueryState.cs138 internal override ObjectQueryExecutionPlan GetExecutionPlan(MergeOption? forMergeOption)
147MergeOption mergeOption = EnsureMergeOption(forMergeOption, this.UserSpecifiedMergeOption);
155 if (plan.MergeOption == mergeOption)
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/Common/QueryCache/
H A DCompiledQueryCacheEntry.cs28 public readonly MergeOption? PropagatedMergeOption;
42 internal CompiledQueryCacheEntry(QueryCacheKey queryCacheKey, MergeOption? mergeOption) in CompiledQueryCacheEntry()
59 …internal ObjectQueryExecutionPlan GetExecutionPlan(MergeOption mergeOption, bool useCSharpNullComp… in GetExecutionPlan()
79 … string planKey = GenerateLocalCacheKey(newPlan.MergeOption, useCSharpNullComparisonBehavior); in SetExecutionPlan()
107 …private string GenerateLocalCacheKey(MergeOption mergeOption, bool useCSharpNullComparisonBehavior) in GenerateLocalCacheKey()
111 case MergeOption.AppendOnly: in GenerateLocalCacheKey()
112 case MergeOption.NoTracking: in GenerateLocalCacheKey()
113 case MergeOption.OverwriteChanges: in GenerateLocalCacheKey()
114 case MergeOption.PreserveChanges: in GenerateLocalCacheKey()
115 …return string.Join("", Enum.GetName(typeof(MergeOption), mergeOption), useCSharpNullComparisonBeha… in GenerateLocalCacheKey()
H A DEntitySqlQueryCacheKey.cs55 private readonly MergeOption _mergeOption;
76 MergeOption mergeOption, in EntitySqlQueryCacheKey()
154 …qlStatement, _parametersToken, _includePathsToken, Enum.GetName(typeof(MergeOption), _mergeOption)… in ToString()
H A DLinqQueryCacheKey.cs49 private readonly MergeOption _mergeOption;
75 MergeOption mergeOption, in LinqQueryCacheKey()
144 …pressionKey, _parametersToken, _includePathsToken, Enum.GetName(typeof(MergeOption), _mergeOption)… in ToString()
H A DShaperFactoryQueryCacheKey.cs17 private readonly MergeOption _mergeOption;
20 …internal ShaperFactoryQueryCacheKey(string columnMapKey, MergeOption mergeOption, bool isValueLaye… in ShaperFactoryQueryCacheKey()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/Common/Internal/Materialization/
H A DShaperFactory.cs25 …, ColumnMap columnMap, MetadataWorkspace metadata, SpanIndex spanInfo, MergeOption mergeOption, bo… in Create()
33 …, ColumnMap columnMap, MetadataWorkspace metadata, SpanIndex spanInfo, MergeOption mergeOption, bo… in TypedCreate()
39 …, ColumnMap columnMap, MetadataWorkspace metadata, SpanIndex spanInfo, MergeOption mergeOption, bo… in TypedCreate()
54 private readonly MergeOption _mergeOption;
56 …nt, CoordinatorFactory<T> rootCoordinatorFactory, Action checkPermissions, MergeOption mergeOption) in ShaperFactory()
67 …DataReader reader, ObjectContext context, MetadataWorkspace workspace, MergeOption mergeOption, bo… in Create()
H A DShaper.cs34 this.MergeOption = mergeOption; in Shaper()
92 public readonly MergeOption MergeOption; field in System.Data.Common.Internal.Materialization.Shaper
139 …Debug.Assert(MergeOption.NoTracking != this.MergeOption, "no need to HandleEntity if there's no tr… in HandleEntity()
140 … Debug.Assert(MergeOption.AppendOnly != this.MergeOption, "use HandleEntityAppendOnly instead..."); in HandleEntity()
329 this.MergeOption, in HandleRelationshipSpan()
516 if (forceToTrue || this.MergeOption == MergeOption.OverwriteChanges) in SetIsLoadedForSpan()
670 (this.MergeOption == MergeOption.PreserveChanges || in CheckClearedEntryOnSpan()
671 this.MergeOption == MergeOption.OverwriteChanges)) in CheckClearedEntryOnSpan()
759 if (MergeOption.AppendOnly != MergeOption) in UpdateEntry()
764 if (MergeOption.OverwriteChanges == MergeOption) in UpdateEntry()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/Objects/
H A DObjectQuery.cs186 public MergeOption MergeOption property in System.Data.Objects.ObjectQuery
307 public ObjectResult Execute(MergeOption mergeOption) in Execute()
327 internal abstract ObjectResult ExecuteInternal(MergeOption mergeOption); in ExecuteInternal()
H A DObjectQuery_TResultType.cs47 public new ObjectResult<T> Execute(MergeOption mergeOption) in Execute()
104 internal override ObjectResult ExecuteInternal(MergeOption mergeOption) in ExecuteInternal()
151 internal ObjectQuery<T> MergeAs(MergeOption mergeOption) in MergeAs()
166 private ObjectResult<T> GetResults(MergeOption? forMergeOption)
H A DRefreshMode.cs26 ClientWins = MergeOption.PreserveChanges,
33 StoreWins = MergeOption.OverwriteChanges,
H A DObjectContext.cs730 wrappedEntity.AttachContext(this, entitySet, MergeOption.AppendOnly); in AddSingleObject()
764 public void LoadProperty(object entity, string navigationProperty, MergeOption mergeOption) in LoadProperty()
1029 … this.ObjectStateManager.TransactionManager.OriginalMergeOption = wrappedEntity.MergeOption; in AttachTo()
1181 wrappedEntity.AttachContext(this, entitySet, MergeOption.AppendOnly); in AttachSingleObject()
1199 wrappedEntity.MergeOption != MergeOption.NoTracking) in VerifyContextForAddOrAttach()
1641 ObjectQuery<T> query = new ObjectQuery<T>(queryString, this, MergeOption.AppendOnly); in CreateQuery()
2233 MergeOption mergeOption = (RefreshMode.StoreWins == refreshMode ? in BatchRefreshEntitiesByKey()
2234 MergeOption.OverwriteChanges : in BatchRefreshEntitiesByKey()
2235 MergeOption.PreserveChanges); in BatchRefreshEntitiesByKey()
2559 return ExecuteFunction<TElement>(functionName, MergeOption.AppendOnly, parameters); in ExecuteFunction()
[all …]
H A DObjectStateManager.cs727 MergeOption.AppendOnly, in PromoteKeyEntry()
802 MergeOption mergeOption, in AddEntityToCollectionOrReference()
822 case MergeOption.NoTracking: in AddEntityToCollectionOrReference()
828 case MergeOption.AppendOnly: in AddEntityToCollectionOrReference()
842 case MergeOption.PreserveChanges: in AddEntityToCollectionOrReference()
843 case MergeOption.OverwriteChanges: in AddEntityToCollectionOrReference()
877 if (mergeOption == MergeOption.NoTracking) in AddEntityToCollectionOrReference()
1004 MergeOption.NoTracking, in UpdateRelationships()
1109 …Debug.Assert(mergeOption == MergeOption.PreserveChanges || mergeOption == MergeOption.OverwriteCha… in RemoveRelationships()
1299 case MergeOption.AppendOnly: in TryUpdateExistingRelationships()
[all …]
H A DNextResultGenerator.cs27 MergeOption _mergeOption;
29 … EdmType[] edmTypes, ReadOnlyMetadataCollection<EntitySet> entitySets, MergeOption mergeOption, in… in NextResultGenerator()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Data.Services.Client/Client/System/Data/Services/Client/
H A DAtomMaterializerLog.cs43 private readonly MergeOption mergeOption;
51 internal AtomMaterializerLog(DataServiceContext context, MergeOption mergeOption) in AtomMaterializerLog()
70 return this.mergeOption != MergeOption.NoTracking;
81 … this.mergeOption != MergeOption.OverwriteChanges || this.foundEntriesWithMedia.Count == 0, in ApplyToContext()
135 if (MergeOption.PreserveChanges == this.mergeOption) in ApplyToContext()
173 if (this.mergeOption == MergeOption.OverwriteChanges) in FoundExistingInstance()
250 if (this.mergeOption == MergeOption.AppendOnly) in CreatedInstance()
H A DUtil.cs125 internal static MergeOption CheckEnumerationValue(MergeOption value, string parameterName) in CheckEnumerationValue()
129 case MergeOption.AppendOnly: in CheckEnumerationValue()
130 case MergeOption.OverwriteChanges: in CheckEnumerationValue()
131 case MergeOption.PreserveChanges: in CheckEnumerationValue()
132 case MergeOption.NoTracking: in CheckEnumerationValue()
/dports/databases/akonadi/akonadi-21.12.3/src/core/jobs/
H A Ditemcreatejob.h85 enum MergeOption { enum
91 Q_DECLARE_FLAGS(MergeOptions, MergeOption)
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/Objects/ELinq/
H A DCompiledELinqQueryState.cs53 internal override ObjectQueryExecutionPlan GetExecutionPlan(MergeOption? forMergeOption)
71MergeOption mergeOption = EnsureMergeOption(forMergeOption, this.UserSpecifiedMergeOption, cacheEn…
102MergeOption mergeOption = EnsureMergeOption(forMergeOption, this.UserSpecifiedMergeOption, cacheEn…
135MergeOption mergeOption = EnsureMergeOption(forMergeOption, this.UserSpecifiedMergeOption, cacheEn…
H A DELinqQueryState.cs92 internal override ObjectQueryExecutionPlan GetExecutionPlan(MergeOption? forMergeOption)
101MergeOption? explicitMergeOption = GetMergeOption(forMergeOption, this.UserSpecifiedMergeOption);
106 explicitMergeOption.Value != plan.MergeOption) ||
136 MergeOption mergeOption = EnsureMergeOption(forMergeOption,
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/Objects/DataClasses/
H A DRelationshipManager.cs535 if (wrappedOwner.Context != null && wrappedOwner.MergeOption != MergeOption.NoTracking)
589 if (wrappedOwner.Context != null && wrappedOwner.MergeOption != MergeOption.NoTracking)
943 …Debug.Assert(wrappedOwner.Context == null || wrappedOwner.MergeOption == MergeOption.NoTracking, "…
955 …Debug.Assert(wrappedOwner.Context == null || wrappedOwner.MergeOption == MergeOption.NoTracking, "…
971 relatedEnd.AttachContext(wrappedOwner.Context, wrappedOwner.MergeOption);
1030 if (wrappedOwner.Context != null && wrappedOwner.MergeOption != MergeOption.NoTracking) in OnSerializing()
1500 …oid AttachContextToRelatedEnds(ObjectContext context, EntitySet entitySet, MergeOption mergeOption) in AttachContextToRelatedEnds()
1537 …void ResetContextOnRelatedEnds(ObjectContext context, EntitySet entitySet, MergeOption mergeOption) in ResetContextOnRelatedEnds()
H A DEntityCollection.cs223 public override void Load(MergeOption mergeOption) in Load()
285 internal void Load(List<IEntityWrapper> collection, MergeOption mergeOption) in Load()
332 … if (null != wrappedEntity.Context && wrappedEntity.MergeOption != MergeOption.NoTracking) in DisconnectedAdd()
353 … if (null != wrappedEntity.Context && wrappedEntity.MergeOption != MergeOption.NoTracking) in DisconnectedRemove()

1234567