28 references to AppendOnly
System.Data.Entity (26)
System\Data\Common\EntityUtil.cs (1)
1142
case MergeOption.
AppendOnly
:
System\Data\Common\Internal\Materialization\Shaper.cs (3)
140
Debug.Assert(MergeOption.
AppendOnly
!= this.MergeOption, "use HandleEntityAppendOnly instead...");
183
Debug.Assert(this.MergeOption == MergeOption.
AppendOnly
, "only use HandleEntityAppendOnly when MergeOption is AppendOnly");
759
if (MergeOption.
AppendOnly
!= MergeOption)
System\Data\Common\Internal\Materialization\Translator.cs (3)
1255
if (typeof(IEntityWithKey).IsAssignableFrom(actualType) && MergeOption.
AppendOnly
!= _mergeOption)
1264
if (MergeOption.
AppendOnly
== _mergeOption)
1329
_mergeOption == MergeOption.NoTracking ? MergeOption.NoTracking : MergeOption.
AppendOnly
, isProxy);
System\Data\Common\QueryCache\CompiledQueryCacheEntry.cs (1)
111
case MergeOption.
AppendOnly
:
System\Data\Objects\DataClasses\RelatedEnd.cs (1)
280
return UsingNoTracking ? MergeOption.NoTracking : MergeOption.
AppendOnly
;
System\Data\Objects\Internal\BaseEntityWrapper.cs (3)
110
return (_flags & WrapperFlags.NoTracking) != 0 ? MergeOption.NoTracking : MergeOption.
AppendOnly
;
114
Debug.Assert(value == MergeOption.
AppendOnly
|| value == MergeOption.NoTracking, "Merge option must be one of NoTracking or AppendOnly.");
164
MergeOption.
AppendOnly
== mergeOption,
System\Data\Objects\Internal\ObjectQueryState.cs (1)
37
internal static readonly MergeOption DefaultMergeOption = MergeOption.
AppendOnly
;
System\Data\Objects\ObjectContext.cs (7)
730
wrappedEntity.AttachContext(this, entitySet, MergeOption.
AppendOnly
);
1181
wrappedEntity.AttachContext(this, entitySet, MergeOption.
AppendOnly
);
1641
ObjectQuery<T> query = new ObjectQuery<T>(queryString, this, MergeOption.
AppendOnly
);
2535
ObjectResult<object> results = CreateQuery<object>(esql.ToString(), parameters).Execute(MergeOption.
AppendOnly
);
2559
return ExecuteFunction<TElement>(functionName, MergeOption.
AppendOnly
, parameters);
3041
return ExecuteStoreQueryInternal<TElement>(commandText, null /*entitySetName*/, MergeOption.
AppendOnly
, parameters);
3123
return InternalTranslate<TElement>(reader, null /*entitySetName*/, MergeOption.
AppendOnly
, false);
System\Data\Objects\ObjectSet.cs (1)
52
: base(entitySet, context, MergeOption.
AppendOnly
)
System\Data\Objects\ObjectStateManager.cs (5)
669
wrappedEntity.AttachContext(contextToAttach, (EntitySet)keyEntry.EntitySet, MergeOption.
AppendOnly
);
727
MergeOption.
AppendOnly
,
828
case MergeOption.
AppendOnly
:
1215
case MergeOption.
AppendOnly
:
1299
case MergeOption.
AppendOnly
:
System.Data.Services (1)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
387
objectQuery.MergeOption = MergeOption.
AppendOnly
;
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceView.cs (1)
337
queryT.MergeOption = MergeOption.
AppendOnly
;