EntityFilters Enumeration
Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online
Describes the type of entity metadata to retrieve.
Namespace: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
'Declaration
<FlagsAttribute> _
<DataContractAttribute(Name:="EntityFilters", Namespace:="https://schemas.microsoft.com/xrm/2011/Metadata")> _
Public Enumeration EntityFilters
[FlagsAttribute]
[DataContractAttribute(Name="EntityFilters", Namespace="https://schemas.microsoft.com/xrm/2011/Metadata")]
public enum EntityFilters
Members
Member name | Description |
---|---|
All | Use this to retrieve all data for an entity. Value = 15. |
Attributes | Use this to retrieve entity information plus attributes for the entity. Value = 2. |
Default | Use this to retrieve only entity information. Equivalent to EntityFilters.Entity. Value = 1. |
Entity | Use this to retrieve only entity information. Equivalent to EntityFilters.Default. Value = 1. |
Privileges | Use this to retrieve entity information plus privileges for the entity. Value = 4. |
Relationships | Use this to retrieve entity information plus entity relationships for the entity. Value = 8. |
Remarks
Use this enumeration with RetrieveAllEntitiesRequest and RetrieveEntityRequest.
Platforms
Development Platforms
Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)
Target Platforms
Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),
See Also
Reference
Microsoft.Xrm.Sdk.Metadata Namespace
Other Resources
Sample: Dump Entity Metadata to a File
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.