ObjectQuery.Execute Method (MergeOption)

 

Executes the untyped object query with the specified merge option.

Namespace:   System.Data.Entity.Core.Objects
Assembly:  EntityFramework (in EntityFramework.dll)

public ObjectResult Execute(
	MergeOption mergeOption
)

Parameters

mergeOption
Type: System.Data.Entity.Core.Objects.MergeOption

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

Return Value

Type: System.Data.Entity.Core.Objects.ObjectResult

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