C# 클래스 Rock.Model.AttributeService

Data access/service class for Rock.Model.Attribute entities.
파일 보기 프로젝트 열기: NewSpring/Rock 1 사용 예제들

공개 메소드들

메소드 설명
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