C# Class Rock.Model.AttributeValueService

Data access/service for Rock.Model.AttributeValue entity objects.
Mostrar archivo Open project: NewSpring/Rock Class Usage Examples

Public Methods

Method Description
GetByAttributeId ( int attributeId ) : IQueryable

Returns an enumerable collection of Rock.Model.AttributeValue">AttributeValues by

GetByAttributeIdAndEntityId ( int attributeId, int entityId ) : AttributeValue

Gets an Attribute Value by Attribute Id And Entity Id

GetByEntityId ( int entityId ) : IQueryable

Returns an enumerable collection of AttributeValues by EntityId.

GetGlobalAttributeValue ( string key ) : AttributeValue

Returns a Rock.Model.AttributeValue for a Rock.Model.Attribute by Key.

Method Details

GetByAttributeId() public method

Returns an enumerable collection of Rock.Model.AttributeValue">AttributeValues by
public GetByAttributeId ( int attributeId ) : IQueryable
attributeId int A that represents the AttributeId of the to search by.
return IQueryable

GetByAttributeIdAndEntityId() public method

Gets an Attribute Value by Attribute Id And Entity Id
public GetByAttributeIdAndEntityId ( int attributeId, int entityId ) : AttributeValue
attributeId int Attribute Id.
entityId int Entity Id.
return AttributeValue

GetByEntityId() public method

Returns an enumerable collection of AttributeValues by EntityId.
public GetByEntityId ( int entityId ) : IQueryable
entityId int A representing the EntityId to search by.
return IQueryable

GetGlobalAttributeValue() public method

Returns a Rock.Model.AttributeValue for a Rock.Model.Attribute by Key.
public GetGlobalAttributeValue ( string key ) : AttributeValue
key string A representing the name of the Global Attribute's key value.
return AttributeValue