ColumnSet Constructor (Boolean)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Initializes a new instance of the ColumnSet class setting the AllColumns property.
Namespace: Microsoft.Xrm.Sdk.Query
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
public ColumnSet(
bool allColumns
)
Public Sub New (
allColumns As Boolean
)
Parameters
allColumns
Type: System.BooleanType: Boolean. A Boolean that specifies whether to retrieve all attributes of a record.
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 Overload
ColumnSet Class
Microsoft.Xrm.Sdk.Query Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright