Skip to content

Commit b0aae51

Browse files
authored
Merge branch 'live' into patch-1
2 parents 0ccfb71 + e981a7b commit b0aae51

File tree

12 files changed

+75
-26
lines changed

12 files changed

+75
-26
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: "Query data using LINQ (Common Data Service) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
3+
description: "This sample showcases how to assign records to a team." # 115-145 characters including spaces. This abstract displays in the search result.
4+
ms.custom: ""
5+
ms.date: 02/05/2020
6+
ms.reviewer: ""
7+
ms.service: powerapps
8+
ms.topic: "samples"
9+
author: "phecke" # GitHub ID
10+
ms.author: "pehecke" # MSFT alias of Microsoft employees only
11+
manager: "KumarVivek" # MSFT alias of manager or PM counterpart
12+
search.audienceType:
13+
- developer
14+
search.app:
15+
- PowerApps
16+
- D365CE
17+
---
18+
# Sample: Query data using LINQ
19+
20+
These samples show how to query business data using [Language-Integrated Query (LINQ)](https://docs.microsoft.com/dotnet/csharp/programming-guide/concepts/linq/introduction-to-linq-queries). You can download the sample from [here](https://github.com/microsoft/PowerApps-Samples/tree/master/cds/orgsvc/C%23/QueriesUsingLINQ).
21+
22+
## How to run this sample
23+
24+
See [How to run samples](https://github.com/microsoft/PowerApps-Samples/blob/master/cds/README.md) for information about how to run this sample. There are multiple projects in the solution. Each project demonstrates some aspect of LINQ queries.
25+
26+
## What this sample does
27+
28+
Read each sample's comments to find out what each sample does. There are samples that:
29+
* Create a simple LINQ query
30+
* Create a LINQ query using entity late binding
31+
* Retrieve multiple records using condition operators
32+
* Complex queries - a wide assortment of LINQ examples
33+
34+
## How this sample works
35+
36+
In order to simulate the scenario described in [What this sample does](#what-this-sample-does), the sample will do the following:
37+
38+
### Setup
39+
40+
Creates any entity instances required by the `Demonstrate` region of each `Main`() method.
41+
42+
### Demonstrate
43+
44+
Code in the `Demonstrate` region of the `Main`() method performs one or more LINQ queries.
45+
46+
### Clean up
47+
48+
Displays an option to delete the records created in [Setup](#setup).
49+
50+
The deletion is optional in case you want to examine the entities and data created by the sample. You can manually delete the records to achieve the same result.

powerapps-docs/developer/common-data-service/org-service/samples/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,8 @@
272272
href: retrieve-time-zone-information.md
273273
- name: Query Data
274274
items:
275+
- name: Query data using LINQ
276+
href: query-using-linq.md
275277
- name: Use QueryExpression with a paging cookie
276278
href: use-queryexpression-with-a-paging-cookie.md
277279
- name: Retrieve multiple with the QueryExpression class

powerapps-docs/maker/canvas-apps/add-manage-connections.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.service: powerapps
77
ms.topic: conceptual
88
ms.custom: canvas
99
ms.reviewer: tapanm
10-
ms.date: 03/09/2017
10+
ms.date: 02/05/2020
1111
ms.author: lanced
1212
search.audienceType:
1313
- maker
@@ -30,7 +30,7 @@ Your next step after this article is to display and manage data from the data so
3030

3131
## Prerequisites
3232
1. [Sign up](../signup-for-powerapps.md) for Power Apps.
33-
2. Sign in to [powerapps.com](https://make.powerapps.com?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc) using the same credentials that you used to sign up.
33+
2. Sign in to [make.powerapps.com](https://make.powerapps.com?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc) using the same credentials that you used to sign up.
3434

3535
## Background on data connections
3636
Most Power Apps apps use external information called **Data Sources** that is stored in cloud services. A common example is a table in an Excel file stored in OneDrive for Business. Apps are able to access these data sources by using **Connections**.
@@ -51,17 +51,17 @@ In addition to creating and managing connections in [powerapps.com](https://make
5151
> If you want to use Power Apps Studio instead, open the **File** menu, and then click or tap **Connections**, [powerapps.com](https://make.powerapps.com?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc) opens so that you can create and manage connections there.
5252
5353
## Create a new connection
54-
1. If you have not already done so, log in to [powerapps.com](https://make.powerapps.com?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc).
55-
2. In the left navigation bar, click or tap **Connections**.
54+
1. If you have not already done so, log in to [make.powerapps.com](https://make.powerapps.com?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc).
55+
2. In the left navigation, expand **Data** and select **Connections**.
5656

5757
![Connections Manage](./media/add-manage-connections/open-connections.png)
58-
3. In the upper-right corner, click or tap **New connection**.
58+
3. Select **New connection**.
5959

6060
![Connections Add](./media/add-manage-connections/add-connection.png)
61-
4. Click or tap a connector in the list that appears, and then follow the prompts.
61+
4. Select a connector in the list that appears, and then follow the prompts.
6262

6363
![Connections Add](./media/add-manage-connections/choose-connection.png)
64-
5. Click or tap the **Create** button.
64+
5. Select the **Create** button.
6565

6666
![Connections Add](./media/add-manage-connections/create-connection.png)
6767
6. Follow the prompts. Some connectors prompt you to provide credentials, specify a particular set of data, or perform other steps. Others such as **Microsoft Translator**, do not.
@@ -74,11 +74,11 @@ In addition to creating and managing connections in [powerapps.com](https://make
7474
The new connector appears under **Connections**, and you can [add it to an app](add-data-connection.md).
7575

7676
## Update or delete a connection
77-
In the list of connections, find the connection that you want to update or delete, and then click or tap the ellipsis (3-dots-symbol) on the right of the connection.
77+
In the list of connections, find the connection that you want to update or delete, and then select the ellipsis (...) on the right of the connection.
7878

7979
![Update connection](./media/add-manage-connections/auth-or-delete.png)
8080

81-
* To update the credentials for a connection, click or tap the key icon, and then provide credentials for that connection.
82-
* To delete the connection, click or tap the trash-can icon.
83-
* Click or tap the information icon to see the connection details.
81+
* To update the credentials for a connection, select the key icon, and then provide credentials for that connection.
82+
* To delete the connection, select delete.
83+
* Select the information icon to see the connection details.
8484

Binary file not shown.
-24.9 KB
Loading
-16.7 KB
Loading
-23.9 KB
Loading
-88.5 KB
Loading
3.37 KB
Loading
Binary file not shown.

0 commit comments

Comments
 (0)