Partager via


OrganizationServiceContext.CreateQuery Méthode (String)

S'applique à: CRM 2015 on-prem, CRM Online

Creates a web service Language-Integrated Query (LINQ) .NET query for the specified entity.

Espace de noms: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (dans Microsoft.Xrm.Sdk.dll)

Syntaxe

'Déclaration
Public Function CreateQuery ( _
    entityLogicalName As String _
) As IQueryable(Of Entity)
public IQueryable<Entity> CreateQuery (
    string entityLogicalName
)

Paramètres

  • entityLogicalName
    Type: Chaîne. The logical name of the entity to be queried.

Valeur renvoyée

Type: IQueryable<Entity>.
The query of the specified entity.

Cohérence de thread

Tous les membres statiques publics (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres d'instance ne sont pas garantis thread-safe.

Plateformes

Plateformes de développement

Windows Vista, Windows Server 2003 et

Plateformes cibles

Windows Vista,Windows XP

Voir aussi

Référence

Classe OrganizationServiceContext
Membres OrganizationServiceContext
Espace de noms Microsoft.Xrm.Sdk.Client

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.