ObjectQuery.Execute(MergeOption) Method

Definition

Executes the untyped object query with the specified merge option.

public System.Data.Entity.Core.Objects.ObjectResult Execute (System.Data.Entity.Core.Objects.MergeOption mergeOption);
member this.Execute : System.Data.Entity.Core.Objects.MergeOption -> System.Data.Entity.Core.Objects.ObjectResult

Parameters

mergeOption
MergeOption

The MergeOption to use when executing the query. The default is AppendOnly.

Returns

An ObjectResult<T> that contains a collection of entity objects returned by the query.

Applies to