C# Класс Rock.Model.AttributeService

Data access/service class for Rock.Model.Attribute entities.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Get ( int entityTypeId, string entityQualifierColumn, string entityQualifierValue, string key ) : Attribute

Returns an Rock.Model.Attribute by Rock.Model.EntityType, EntityQualifierColumn, EntityQualiferValue and Key name.

Get ( int entityTypeId, string entityQualifierColumn, string entityQualifierValue ) : IQueryable

Gets a queryable collection of Rock.Model.Attribute">Attributes by

GetByCategoryId ( int categoryId ) : IQueryable

Returns a queryable collection of Rock.Model.Attribute">Attributes by

GetByEntityTypeId ( int entityTypeId ) : IQueryable

Returns a queryable collection of Rock.Model.Attribute">Attributes by

GetByFieldTypeId ( int fieldTypeId ) : IQueryable

Returns an enumerable collection of Rock.Model.Attribute">Attributes that uses the provided

GetGlobalAttribute ( string key ) : Attribute

Returns a global Rock.Model.Attribute by its Key.

GetGlobalAttributes ( ) : IQueryable

Returns a queryable collection containing the Global Attributes.

GetGroupMemberAttributesCombined ( int groupId, int groupTypeId ) : IQueryable

Gets the group member attributes combined with the inherited group type's group member attibutes.

GetGuid ( int id ) : Guid?

Gets the Guid for the Attribute that has the specified Id

GetSystemSetting ( string key ) : Attribute

Returns a global Rock.Model.Attribute by its Key.

GetSystemSettings ( ) : IQueryable

Returns a queryable collection containing the Global Attributes.

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

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

Returns an Rock.Model.Attribute by Rock.Model.EntityType, EntityQualifierColumn, EntityQualiferValue and Key name.
public Get ( int entityTypeId, string entityQualifierColumn, string entityQualifierValue, string key ) : Attribute
entityTypeId int A that represents the EntityTypeId of the to search by.
entityQualifierColumn string A that represents the name of the EntityQualifierColumn to search by.
entityQualifierValue string A that represents the EntityQualifierValue to search by.
key string A representing the key name of the attribute to search by.
Результат System.Attribute

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

Gets a queryable collection of Rock.Model.Attribute">Attributes by
public Get ( int entityTypeId, string entityQualifierColumn, string entityQualifierValue ) : IQueryable
entityTypeId int A representing the EntityTypeId of a to search by.
entityQualifierColumn string A represents the name of the EntityQualifierColumn to search by.
entityQualifierValue string A that represents the qualifier value to search by.
Результат IQueryable

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

Returns a queryable collection of Rock.Model.Attribute">Attributes by
public GetByCategoryId ( int categoryId ) : IQueryable
categoryId int A representing the CategoryId of the to search by.
Результат IQueryable

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

Returns a queryable collection of Rock.Model.Attribute">Attributes by
public GetByEntityTypeId ( int entityTypeId ) : IQueryable
entityTypeId int A representing the EntityTypeId of the to search by.
Результат IQueryable

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

Returns an enumerable collection of Rock.Model.Attribute">Attributes that uses the provided
public GetByFieldTypeId ( int fieldTypeId ) : IQueryable
fieldTypeId int A that represents the FileTypeId of the to search by.
Результат IQueryable

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

Returns a global Rock.Model.Attribute by its Key.
public GetGlobalAttribute ( string key ) : Attribute
key string A representing the name of the Attribute key.
Результат System.Attribute

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

Returns a queryable collection containing the Global Attributes.
public GetGlobalAttributes ( ) : IQueryable
Результат IQueryable

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

Gets the group member attributes combined with the inherited group type's group member attibutes.
public GetGroupMemberAttributesCombined ( int groupId, int groupTypeId ) : IQueryable
groupId int The group identifier.
groupTypeId int The group type identifier.
Результат IQueryable

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

Gets the Guid for the Attribute that has the specified Id
public GetGuid ( int id ) : Guid?
id int The identifier.
Результат Guid?

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

Returns a global Rock.Model.Attribute by its Key.
public GetSystemSetting ( string key ) : Attribute
key string A representing the name of the Attribute key.
Результат System.Attribute

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

Returns a queryable collection containing the Global Attributes.
public GetSystemSettings ( ) : IQueryable
Результат IQueryable