C# Класс CodeGarten.Data.Access.RoleManager

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddRule ( long structure, string containerPrototype, string workspaceType, string roleType, string rule ) : void
Create ( long structure, string containerPrototype, string workspaceType, string roleType, IEnumerable rules = null, RoleBarrier roleBarrier = RoleBarrier.None ) : Role
Delete ( long structureId, string containerPrototype, string workspaceType, string roleType ) : void
Get ( long structure, string containerPrototype, string workspaceType, string roleType ) : Role
GetAll ( long structureId ) : IEnumerable
RoleManager ( DataBaseManager db ) : System.Collections.Generic

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

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

public AddRule ( long structure, string containerPrototype, string workspaceType, string roleType, string rule ) : void
structure long
containerPrototype string
workspaceType string
roleType string
rule string
Результат void

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

public Create ( long structure, string containerPrototype, string workspaceType, string roleType, IEnumerable rules = null, RoleBarrier roleBarrier = RoleBarrier.None ) : Role
structure long
containerPrototype string
workspaceType string
roleType string
rules IEnumerable
roleBarrier RoleBarrier
Результат CodeGarten.Data.Model.Role

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

public Delete ( long structureId, string containerPrototype, string workspaceType, string roleType ) : void
structureId long
containerPrototype string
workspaceType string
roleType string
Результат void

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

public Get ( long structure, string containerPrototype, string workspaceType, string roleType ) : Role
structure long
containerPrototype string
workspaceType string
roleType string
Результат CodeGarten.Data.Model.Role

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

public GetAll ( long structureId ) : IEnumerable
structureId long
Результат IEnumerable

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

public RoleManager ( DataBaseManager db ) : System.Collections.Generic
db DataBaseManager
Результат System.Collections.Generic