OrganizationServiceContext.CreateQuery-methode ()
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(Of TEntity As Entity) As IQueryable(Of TEntity)
public IQueryable<TEntity> CreateQuery<TEntity> () where TEntity : Entity
GenericParameters
- TEntity
Type: Entity. 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.