Skip to content

Commit 9c49b51

Browse files
authored
Merge pull request #6374 from MicrosoftDocs/linq-query-example
Linq query example
2 parents 46805f0 + acad459 commit 9c49b51

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

powerapps-docs/developer/data-platform/org-service/linq-query-examples.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,7 @@ using (ServiceContext svcContext = new ServiceContext(_serviceProxy))
10721072

10731073
## Use LoadProperty to retrieve related rows
10741074

1075-
The following sample shows how to [Relationship)]<xref:Microsoft.Xrm.Sdk.Client.OrganizationServiceContext.LoadProperty(Microsoft.Xrm.Sdk.Entity,Microsoft.Xrm.Sdk.Relationship)> to access related rows.
1075+
The following sample shows how to call <xref:Microsoft.Xrm.Sdk.Client.OrganizationServiceContext.LoadProperty(Microsoft.Xrm.Sdk.Entity,Microsoft.Xrm.Sdk.Relationship)> to access related rows.
10761076

10771077
```csharp
10781078
Contact benAndrews = svcContext.ContactSet.Where(c => c.FullName == "Ben Andrews").FirstOrDefault();
@@ -1087,7 +1087,5 @@ if (benAndrews != null)
10871087
}
10881088
}
10891089
```
1090-
1091-
10921090

10931091
[!INCLUDE[footer-include](../../../includes/footer-banner.md)]

0 commit comments

Comments
 (0)