ObjectQuery.Execute(MergeOption) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes the untyped object query with the specified merge option.
public:
System::Data::Objects::ObjectResult ^ Execute(System::Data::Objects::MergeOption mergeOption);
public System.Data.Objects.ObjectResult Execute (System.Data.Objects.MergeOption mergeOption);
member this.Execute : System.Data.Objects.MergeOption -> System.Data.Objects.ObjectResult
Public Function Execute (mergeOption As MergeOption) As 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.
Remarks
The default merge option for object queries is AppendOnly. For more information, see Identity Resolution, State Management, and Change Tracking.
Call the Execute method on ObjectQuery<T> for typed object queries.
Applies to
See also
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for