Sdílet prostřednictvím


InfoCode Enum

Definition

Members of this enum categorize common anti-patterns found in queries that retrieve data. Learn more about these query anti-patterns.

public enum class InfoCode
[System.Runtime.Serialization.DataContract(Name="InfoCode", Namespace="http://schemas.microsoft.com/xrm/9.0/Contracts")]
public enum InfoCode
[<System.Runtime.Serialization.DataContract(Name="InfoCode", Namespace="http://schemas.microsoft.com/xrm/9.0/Contracts")>]
type InfoCode = 
Public Enum InfoCode
Inheritance
InfoCode
Attributes

Fields

Name Value Description
Unknown 0
SyntaxError 1
PerformanceLeadingWildCard 2

Learn why you should avoid leading wild cards in filter conditions

PerformanceLargeColumnSearch 3

Learn why you should avoid using conditions on large text columns

OrderOnEnumAttribute 4

Learn why you should avoid ordering by choice columns

OrderOnPropertiesFromJoinedTables 5

Learn why you should avoid ordering by columns in related tables

LargeAmountOfAttributes 6

Learn why you should minimize the number of selected columns

LargeAmountOfLogicalAttributes 7

Learn why you should minimize the number of selected logical columns

FilteringOnCalculatedColumns 8

Learn why you should avoid using formula or calculated columns in filter conditions

Applies to