C# Class Gtd.Client.Core.DataStore.ProjectRepository

Inheritance: IProjectRepository
显示文件 Open project: beingtheworst/btw-gtd

Public Methods

Method Description
AllProjects ( ) : IList
DefineProject ( Project project ) : void
GetByProjectId ( string projectId ) : Project
ProjectRepository ( ISQLiteConnectionFactory sqlConnectionFactory ) : System.Collections.Generic

Method Details

AllProjects() public method

public AllProjects ( ) : IList
return IList

DefineProject() public method

public DefineProject ( Project project ) : void
project Gtd.Client.Core.Models.Project
return void

GetByProjectId() public method

public GetByProjectId ( string projectId ) : Project
projectId string
return Gtd.Client.Core.Models.Project

ProjectRepository() public method

public ProjectRepository ( ISQLiteConnectionFactory sqlConnectionFactory ) : System.Collections.Generic
sqlConnectionFactory ISQLiteConnectionFactory
return System.Collections.Generic