Поделиться через


OrganizationServiceContext.CreateQuery Method (String)

 

Applies To: Dynamics CRM 2015

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

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

Syntax

public IQueryable<Entity> CreateQuery(
    string entityLogicalName
)
public:
IQueryable<Entity^>^ CreateQuery(
    String^ entityLogicalName
)
member CreateQuery : 
        entityLogicalName:string -> IQueryable<Entity>
Public Function CreateQuery (
    entityLogicalName As String
) As IQueryable(Of Entity)

Parameters

  • entityLogicalName
    Type: System.String

    Type: String. The logical name of the entity to be queried.

Return Value

Type: System.Linq.IQueryable<Entity>

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

See Also

CreateQuery Overload
OrganizationServiceContext Class
Microsoft.Xrm.Sdk.Client Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright