ColumnSet.AllColumns Property

 

Applies To: Dynamics CRM 2015

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; }
public:
[DataMemberAttribute]
property bool AllColumns {
    bool get();
    void set(bool value);
}
[<DataMemberAttribute>]
member AllColumns : bool with 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

© 2016 Microsoft. All rights reserved. Copyright