C# Class Rock.Reporting.EntityHelper

Afficher le fichier Open project: SparkDevNetwork/Rock Class Usage Examples

Méthodes publiques

Méthode Description
AddEntityFieldForAttribute ( List entityFields, Rock.Web.Cache.AttributeCache attribute, bool limitToFilterableAttributes = true ) : void

Adds the entity field for attribute.

GetEntityFieldForAttribute ( Rock.Web.Cache.AttributeCache attribute, bool limitToFilterableAttributes = true ) : EntityField

Create an EntityField for an Attribute.

GetEntityFields ( Type entityType, bool includeOnlyReportingFields = true, bool limitToFilterableFields = true ) : List

Gets the entity fields.

Private Methods

Méthode Description
SetEntityFieldFromFieldTypeAttribute ( EntityField entityField, FieldTypeAttribute fieldTypeAttribute ) : bool

Sets the entity field from field type attribute.

Method Details

AddEntityFieldForAttribute() public static méthode

Adds the entity field for attribute.
public static AddEntityFieldForAttribute ( List entityFields, Rock.Web.Cache.AttributeCache attribute, bool limitToFilterableAttributes = true ) : void
entityFields List The entity fields.
attribute Rock.Web.Cache.AttributeCache The attribute.
limitToFilterableAttributes bool if set to true [limit to filterable attributes].
Résultat void

GetEntityFieldForAttribute() public static méthode

Create an EntityField for an Attribute.
public static GetEntityFieldForAttribute ( Rock.Web.Cache.AttributeCache attribute, bool limitToFilterableAttributes = true ) : EntityField
attribute Rock.Web.Cache.AttributeCache The attribute.
limitToFilterableAttributes bool
Résultat EntityField

GetEntityFields() public static méthode

Gets the entity fields.
public static GetEntityFields ( Type entityType, bool includeOnlyReportingFields = true, bool limitToFilterableFields = true ) : List
entityType System.Type Type of the entity.
includeOnlyReportingFields bool if set to true [include only reporting fields].
limitToFilterableFields bool if set to true [limit to filterable fields].
Résultat List