Compartir a través de


ColumnSet Constructor (Boolean)

Applies To: Microsoft Dynamics CRM 2013, Microsoft 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

'Declaration
Public Sub New ( _
    allColumns As Boolean _
)
public ColumnSet (
    bool allColumns
)

Parameters

  • allColumns
    Type: 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.

Platforms

Development Platforms

Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)

Target Platforms

Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),

Change History

See Also

Reference

ColumnSet Class
ColumnSet Members
Microsoft.Xrm.Sdk.Query Namespace

Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.