C# Класс Chaos.Mcm.Data.MySql.ProjectRepository

Наследование: IProjectRepository
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
ProjectRepository System

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

Метод Описание
AddUser ( uint id, System.Guid userId ) : bool
Delete ( uint id ) : bool
Get ( uint id = null, System.Guid userId = null, uint labelId = null ) : IEnumerable
ProjectRepository ( Gateway gateway, ILabelRepository label ) : System
RemoveUser ( uint id, System.Guid userId ) : bool
Set ( Project project ) : Project

Приватные методы

Метод Описание
ProjectRepository ( ) : System

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

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

public AddUser ( uint id, System.Guid userId ) : bool
id uint
userId System.Guid
Результат bool

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

public Delete ( uint id ) : bool
id uint
Результат bool

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

public Get ( uint id = null, System.Guid userId = null, uint labelId = null ) : IEnumerable
id uint
userId System.Guid
labelId uint
Результат IEnumerable

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

public ProjectRepository ( Gateway gateway, ILabelRepository label ) : System
gateway Gateway
label ILabelRepository
Результат System

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

public RemoveUser ( uint id, System.Guid userId ) : bool
id uint
userId System.Guid
Результат bool

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

public Set ( Project project ) : Project
project Chaos.Mcm.Data.Dto.Project
Результат Chaos.Mcm.Data.Dto.Project