ObjectQuery<T>.Execute(MergeOption) Method

Definition

Executes the object query with the specified merge option.

public System.Data.Entity.Core.Objects.ObjectResult<T> Execute (System.Data.Entity.Core.Objects.MergeOption mergeOption);
override this.Execute : System.Data.Entity.Core.Objects.MergeOption -> System.Data.Entity.Core.Objects.ObjectResult<'T>

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