ColumnSet Constructor (Boolean)
Applies To: Dynamics CRM 2015
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:
ColumnSet(
bool allColumns
)
new :
allColumns:bool -> ColumnSet
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
© 2016 Microsoft. All rights reserved. Copyright