C# Class Chaos.Mcm.Data.MySql.ProjectRepository

Inheritance: IProjectRepository
显示文件 Open project: CHAOS-Community/CHAOS.Portal.MCM

Private Properties

Property Type Description
ProjectRepository System

Public Methods

Method Description
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

Private Methods

Method Description
ProjectRepository ( ) : System

Method Details

AddUser() public method

public AddUser ( uint id, System.Guid userId ) : bool
id uint
userId System.Guid
return bool

Delete() public method

public Delete ( uint id ) : bool
id uint
return bool

Get() public method

public Get ( uint id = null, System.Guid userId = null, uint labelId = null ) : IEnumerable
id uint
userId System.Guid
labelId uint
return IEnumerable

ProjectRepository() public method

public ProjectRepository ( Gateway gateway, ILabelRepository label ) : System
gateway Gateway
label ILabelRepository
return System

RemoveUser() public method

public RemoveUser ( uint id, System.Guid userId ) : bool
id uint
userId System.Guid
return bool

Set() public method

public Set ( Project project ) : Project
project Chaos.Mcm.Data.Dto.Project
return Chaos.Mcm.Data.Dto.Project