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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om