C# Класс Rock.Reporting.DataSelect.Person.RelatedPeopleSelect

Наследование: DataSelectComponent
Показать файл Открыть проект

Открытые методы

Метод Описание
CreateChildControls ( Control parentControl ) : System.Web.UI.Control[]

Creates the child controls.

GetExpression ( RockContext context, MemberExpression entityIdProperty, string selection ) : Expression

Gets the expression.

GetGridField ( Type entityType, string selection ) : System.Web.UI.WebControls.DataControlField

Gets the grid field.

GetSelection ( Control controls ) : string

Gets the selection. This is typically a string that contains the values selected with the Controls

GetTitle ( Type entityType ) : string

Gets the title.

SetSelection ( Control controls, string selection ) : void

Sets the selection.

Приватные методы

Метод Описание
GetRelatedPeopleQuery ( RockContext context, IEnumerable groupTypeIds, IEnumerable principalRoleGuids, IEnumerable targetRoleGuids, string relationshipName = "*" ) : IQueryable
GetRelatedPeopleUnionQuery ( IQueryable query, IQueryable unionQuery ) : IQueryable

Add a Query to an existing Query to create a Union Query.

PopulateRelationshipTypesSelector ( RockCheckBoxList checkboxList, System.Guid groupTypeGuid ) : void

Populates the group roles.

Описание методов

CreateChildControls() публичный Метод

Creates the child controls.
public CreateChildControls ( Control parentControl ) : System.Web.UI.Control[]
parentControl System.Web.UI.Control
Результат System.Web.UI.Control[]

GetExpression() публичный Метод

Gets the expression.
public GetExpression ( RockContext context, MemberExpression entityIdProperty, string selection ) : Expression
context Rock.Data.RockContext The context.
entityIdProperty System.Linq.Expressions.MemberExpression The entity identifier property.
selection string The selection.
Результат System.Linq.Expressions.Expression

GetGridField() публичный Метод

Gets the grid field.
public GetGridField ( Type entityType, string selection ) : System.Web.UI.WebControls.DataControlField
entityType System.Type Type of the entity.
selection string The selection.
Результат System.Web.UI.WebControls.DataControlField

GetSelection() публичный Метод

Gets the selection. This is typically a string that contains the values selected with the Controls
public GetSelection ( Control controls ) : string
controls System.Web.UI.Control The controls.
Результат string

GetTitle() публичный Метод

Gets the title.
public GetTitle ( Type entityType ) : string
entityType System.Type
Результат string

SetSelection() публичный Метод

Sets the selection.
public SetSelection ( Control controls, string selection ) : void
controls System.Web.UI.Control The controls.
selection string The selection.
Результат void