Platform Core .NET Assemblies API
GetSummarySelectQuery(UserConnection,EntitySchemaQueryColumnCollection) Method
See Also  Send Feedback
Terrasoft.Core.Entities Namespace > EntitySchemaQuery Class > GetSummarySelectQuery Method : GetSummarySelectQuery(UserConnection,EntitySchemaQueryColumnCollection) Method
userConnection
User connection.
summaryColumns
Collection of columns for which the select query for totals is built.

Glossary Item Box

Gets the select query for the totals (aggregate values) for the specified collection of columns of the current EntitySchemaQuery instance, using the specified user connection.

Syntax

 
C#
 
 

Parameters

userConnection
User connection.
summaryColumns
Collection of columns for which the select query for totals is built.

Return Value

The Terrasoft.Core.DB.Select instance of the select query.

Exceptions

ExceptionDescription
SelectFromVirtualSchemaExceptionWhen trying to build the select query to the virtual schema.
Terrasoft.Common.ArgumentNullOrEmptyExceptionIf the null value is passed as the summaryColumns parameter, or if the collection of columns has no items.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.