EntityFilters EntityFilters EntityFilters EntityFilters Enum

Definition

Describes the type of entity metadata to retrieve.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

public enum class EntityFilters
[System.Flags]
[System.Runtime.Serialization.DataContract(Name="EntityFilters", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata")]
public enum EntityFilters
type EntityFilters = 
Public Enum EntityFilters
Inheritance
EntityFiltersEntityFiltersEntityFiltersEntityFilters
Attributes

Fields

All All All All 15

Use this to retrieve all data for an entity. Value = 15.

Attributes Attributes Attributes Attributes 2

Use this to retrieve entity information plus attributes for the entity. Value = 2.

Default Default Default Default 1

Use this to retrieve only entity information. Equivalent to EntityFilters.Entity. Value = 1.

Entity Entity Entity Entity 1

Use this to retrieve only entity information. Equivalent to EntityFilters.Default. Value = 1.

Privileges Privileges Privileges Privileges 4

Use this to retrieve entity information plus privileges for the entity. Value = 4.

Relationships Relationships Relationships Relationships 8

Use this to retrieve entity information plus entity relationships for the entity. Value = 8.

Remarks

Use this enumeration with RetrieveAllEntitiesRequest and RetrieveEntityRequest.

Applies to