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
Copy file name to clipboardExpand all lines: powerapps-docs/developer/data-platform/org-service/queryexpression/sample.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ 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 [Quick Start: Execute an SDK for .NET request (C#)](../org-service/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.
@@ -25,7 +25,7 @@ You can use the following `OutputFetchRequest` static method to test FetchXml qu
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.
27
27
28
-
The `OutputQueryExpression` method depends on the [ConsoleTables NuGet package](https://www.nuget.org/packages/ConsoleTables/2.5.0) and requires that all [entity](reference/entity.md) or [link-entity](reference/link-entity.md) element [attribute elements](reference/attribute.md) are included, which is a best practice.
28
+
The `OutputQueryExpression` method depends on the [ConsoleTables NuGet package](https://www.nuget.org/packages/ConsoleTables/2.5.0) and requires that all all [LinkEntity](xref:Microsoft.Xrm.Sdk.Query.LinkEntity) instances that contain columns specify an [EntityAlias](xref:Microsoft.Xrm.Sdk.Query.LinkEntity.EntityAlias).
You can adapt the [Quick Start: Execute an SDK for .NET request (C#)](../org-service/quick-start-org-service-console-app.md) sample to test queries with the following steps:
168
+
You can adapt the [Quick Start: Execute an SDK for .NET request (C#)](../quick-start-org-service-console-app.md) sample to test queries with the following steps:
169
169
170
170
1. Install the [ConsoleTables NuGet package](https://www.nuget.org/packages/ConsoleTables/2.5.0)
171
171
1. Add the following using statements at the top of the `program.cs` file
0 commit comments