Delen via


OrganizationServiceContext.CreateQuery-methode (String)

Van toepassing op: CRM 2015 on-prem, CRM Online

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

Naamruimte: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntaxis

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

Parameters

  • entityLogicalName
    Type: Tekenreeks. The logical name of the entity to be queried.

Retourwaarde

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

Thread-veiligheid

Alle openbare statische (Shared in Visual Basic) leden van dit type zijn thread-veilig. Exemplaarleden zijn niet gegarandeerd thread-veilig.

Platforms

Ontwikkelplatforms

Windows Vista, Windows Server 2003, en

Doelplatforms

Windows Vista,Windows XP

Zie ook

Verwijzing

OrganizationServiceContext-klasse
OrganizationServiceContext-leden
Microsoft.Xrm.Sdk.Client-naamruimte

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