다음을 통해 공유


ColumnSet.AllColumns Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets or sets whether to retrieve all the attributes of a record.

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

Syntax

[DataMemberAttribute]
public bool AllColumns { get; set; }
<DataMemberAttribute>
Public Property AllColumns As Boolean

Property Value

Type: System.Boolean

Type: Boolean
true to specify to retrieve all attributes; false to to retrieve only specified attributes.

Remarks

Important

You should avoid retrieving all columns in a query result because of the impact on a subsequent update of records. In an update, this will set all field values, even if they are unchanged, and often triggers cascaded updates to child records.

See Also

ColumnSet Class
Microsoft.Xrm.Sdk.Query Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright