OrganizationServiceContextExtensions.RetrieveAllEntities Method (OrganizationServiceContext, EntityFilters, Boolean)
Applies To: Dynamics CRM 2013
Retrieves the metadata for all entities. (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static EntityMetadata[] RetrieveAllEntities(
this OrganizationServiceContext service,
EntityFilters entityFilters = EntityFilters.Entity,
bool retrieveAsIfPublished = false
)
public:
[ExtensionAttribute]
static array<EntityMetadata^>^ RetrieveAllEntities(
OrganizationServiceContext^ service,
EntityFilters entityFilters = EntityFilters::Entity,
bool retrieveAsIfPublished = false
)
static member RetrieveAllEntities :
service:OrganizationServiceContext *
entityFilters:EntityFilters = EntityFilters.Entity *
retrieveAsIfPublished:bool = false -> EntityMetadata[]
<ExtensionAttribute>
Public Shared Function RetrieveAllEntities (
service As OrganizationServiceContext,
entityFilters As EntityFilters,
retrieveAsIfPublished As Boolean
) As EntityMetadata()
Parameters
service
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
- entityFilters
Type: Microsoft.Xrm.Sdk.Metadata.EntityFilters
- retrieveAsIfPublished
Type: System.Boolean
Return Value
Type: Microsoft.Xrm.Sdk.Metadata.EntityMetadata[]
Returns EntityMetadata.
Remarks
This is a method wrapper for the RetrieveAllEntitiesRequest and RetrieveAllEntitiesResponse classes. See the documentation in the Request class for more information about this message.
See Also
OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top