Query Sample Code
[Applies to: Microsoft Dynamics CRM 4.0]
This section contains sample code that shows how to create queries.
In This Section
Create a query expression that uses condition operators.
Create query expressions to retrieve the same sets of records as these deprecated methods: RetrieveByPrincipal, RetrieveByOrganization, and RetrieveBySubContacts.
Use a join to retrieve activities for a participant (systemuser).
© 2010 Microsoft Corporation. All rights reserved.