You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Try using the [QueryExpression sample code](sample.md) to use this method.
101
+
99
102
You can also use the [RetrieveMultipleRequest class](xref:Microsoft.Xrm.Sdk.Messages.RetrieveMultipleRequest) set the query to the [RetrieveMultipleRequest.Query property](xref:Microsoft.Xrm.Sdk.Messages.RetrieveMultipleRequest.Query) to sent the request using the [IOrganizationService.Execute Method](xref:Microsoft.Xrm.Sdk.IOrganizationService.Execute%2A).
Copy file name to clipboardExpand all lines: powerapps-docs/developer/data-platform/org-service/queryexpression/sample.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -16,12 +16,12 @@ contributors:
16
16
---
17
17
# QueryExpression sample code
18
18
19
-
To try using QueryExpression with C#, you can use the `OutputQueryExpression` static method in this article by adapting the [Quickstart: Execute an SDK for .NET request (C#)](../quick-start-org-service-console-app.md)
19
+
To try using QueryExpression with C#, you can use the `OutputQueryExpression` static method in this article by adapting the [Quickstart: Execute an SDK for .NET request (C#)](../quick-start-org-service-console-app.md).
20
20
21
21
> [!NOTE]
22
22
> See [Paging Cookie example](page-results.md#paging-cookie-example) for sample code to retrieve data in pages.
23
23
24
-
You can use the following `OutputFetchRequest` static method to test FetchXml queries in a console application.
24
+
You can use the following `OutputQueryExpression` static method to test QueryExpression queries in a console application.
25
25
26
26
The `OutputQueryExpression` method demonstrates how to use the [QueryExpression class](xref:Microsoft.Xrm.Sdk.Query.QueryExpression) and the [IOrganizationService.RetrieveMultiple method](xref:Microsoft.Xrm.Sdk.IOrganizationService.RetrieveMultiple%2A) to return an [EntityCollection](xref:Microsoft.Xrm.Sdk.EntityCollection) containing the requested data.
0 commit comments