C# Class Rock.Reporting.DataSelect.Person.ChildNamesSelect

Inheritance: DataSelectComponent, IRecipientDataSelect
Afficher le fichier Open project: SparkDevNetwork/Rock

Méthodes publiques

Méthode Description
CreateChildControls ( System.Web.UI.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.

GetRecipientPersonIdExpression ( System.Data.Entity.DbContext dbContext, MemberExpression entityIdProperty, string selection ) : Expression

Gets the recipient person identifier expression.

GetSelection ( Array controls ) : string

Gets the selection.

GetTitle ( Type entityType ) : string

Gets the title.

RenderControls ( System.Web.UI.Control parentControl, System.Web.UI.HtmlTextWriter writer, Array controls ) : void

Renders the controls.

SetSelection ( Array controls, string selection ) : void

Sets the selection.

SortProperties ( string selection ) : string

Comma-delimited list of the Entity properties that should be used for Sorting. Normally, you should leave this as null which will make it sort on the returned field To disable sorting for this field, return string.Empty;

Method Details

CreateChildControls() public méthode

Creates the child controls.
public CreateChildControls ( System.Web.UI.Control parentControl ) : System.Web.UI.Control[]
parentControl System.Web.UI.Control
Résultat System.Web.UI.Control[]

GetExpression() public méthode

Gets the expression.
public GetExpression ( RockContext context, MemberExpression entityIdProperty, string selection ) : Expression
context RockContext The context.
entityIdProperty MemberExpression The entity identifier property.
selection string The selection.
Résultat Expression

GetGridField() public méthode

Gets the grid field.
public GetGridField ( Type entityType, string selection ) : System.Web.UI.WebControls.DataControlField
entityType Type Type of the entity.
selection string The selection.
Résultat System.Web.UI.WebControls.DataControlField

GetRecipientPersonIdExpression() public méthode

Gets the recipient person identifier expression.
public GetRecipientPersonIdExpression ( System.Data.Entity.DbContext dbContext, MemberExpression entityIdProperty, string selection ) : Expression
dbContext System.Data.Entity.DbContext The database context.
entityIdProperty MemberExpression The entity identifier property.
selection string The selection.
Résultat Expression

GetSelection() public méthode

Gets the selection.
public GetSelection ( Array controls ) : string
controls Array The controls.
Résultat string

GetTitle() public méthode

Gets the title.
public GetTitle ( Type entityType ) : string
entityType Type
Résultat string

RenderControls() public méthode

Renders the controls.
public RenderControls ( System.Web.UI.Control parentControl, System.Web.UI.HtmlTextWriter writer, Array controls ) : void
parentControl System.Web.UI.Control The parent control.
writer System.Web.UI.HtmlTextWriter The writer.
controls Array The controls.
Résultat void

SetSelection() public méthode

Sets the selection.
public SetSelection ( Array controls, string selection ) : void
controls Array The controls.
selection string The selection.
Résultat void

SortProperties() public méthode

Comma-delimited list of the Entity properties that should be used for Sorting. Normally, you should leave this as null which will make it sort on the returned field To disable sorting for this field, return string.Empty;
public SortProperties ( string selection ) : string
selection string
Résultat string