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

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

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

Метод Описание
Get ( int entityTypeId, int entityId ) : IQueryable

Returns an enumerable collection of Rock.Model.Auth entities by Rock.Model.EntityType and entity Id.

GetAuths ( int entityTypeId, int entityId, string action ) : IQueryable

Returns a queryable collection of Rock.Model.Auth entities (Authorizations) by entity and action.

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

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

Returns an enumerable collection of Rock.Model.Auth entities by Rock.Model.EntityType and entity Id.
public Get ( int entityTypeId, int entityId ) : IQueryable
entityTypeId int A representing the EntityId of the that this Auth entity applies to.
entityId int A represent the EntityId of the entity that is being secured.
Результат IQueryable

GetAuths() публичный метод

Returns a queryable collection of Rock.Model.Auth entities (Authorizations) by entity and action.
public GetAuths ( int entityTypeId, int entityId, string action ) : IQueryable
entityTypeId int A representing the EntityTypeId of the to search by.
entityId int A representing the EntityId of the entity to search by.
action string A representing the name of the action to search by.
Результат IQueryable