C# Class Azavea.Open.DAO.Criteria.Grouping.MemberGroupExpression

A group expression that aggregates based on values of a data member. This is the most common case. I.E. aggregating based on a "Type" field or property on the data object.
Inheritance: AbstractGroupExpression
Exibir arquivo Open project: azavea/net-dao

Public Properties

Property Type Description
MemberName string

Public Methods

Method Description
MemberGroupExpression ( string memberName )

Creates the expression using the member name as the group name.

MemberGroupExpression ( string memberName, string groupName )

Create the expression with an explicit name to use instead of the data member name when including it in the GroupCountResult.

Method Details

MemberGroupExpression() public method

Creates the expression using the member name as the group name.
public MemberGroupExpression ( string memberName )
memberName string The name of the data member (field/property) on the object to /// group by.

MemberGroupExpression() public method

Create the expression with an explicit name to use instead of the data member name when including it in the GroupCountResult.
public MemberGroupExpression ( string memberName, string groupName )
memberName string The name of the data member (field/property) on the object to /// group by.
groupName string The name to call it in the GroupCountResult's collection.

Property Details

MemberName public_oe property

The name of the data member (field/property) on the object to group by.
public string MemberName
return string