C# 클래스 Galileo.Database.DatabaseRepository

파일 보기 프로젝트 열기: scbrady/Galileo 1 사용 예제들

공개 메소드들

메소드 설명
CreateComment ( string commenter_id, string comment, bool hidden ) : int
DatabaseRepository ( ) : System
DeleteAllMembers ( int projectIds ) : void
DeleteComment ( int comment_id ) : void
GetAllUsers ( ) : List
GetComment ( int comment_id ) : Comment
GetComments ( string userId ) : List
GetCourses ( string userId ) : List
GetEntriesForCourse ( int courseId ) : List
GetLeaderProjects ( string leaderId ) : List
GetMinions ( string userId, bool isTeacher ) : List
GetProjects ( int course_id ) : List
GetUser ( string userId ) : User
GetUserEntries ( string userId ) : List
GetUsersInCourse ( int course_id ) : List
GetUsersInProject ( int projectId ) : List
GetUsersInTeam ( int teamId ) : List
GetUsersWithTeams ( int courseId ) : List
GetUsersWithoutTeams ( int courseId ) : List
InsertProjectManager ( string userId, int projectIds ) : void
InsertTeamMembers ( List teams ) : void
LinkComment ( int commentId, string recipients ) : void

메소드 상세

CreateComment() 공개 메소드

public CreateComment ( string commenter_id, string comment, bool hidden ) : int
commenter_id string
comment string
hidden bool
리턴 int

DatabaseRepository() 공개 메소드

public DatabaseRepository ( ) : System
리턴 System

DeleteAllMembers() 공개 메소드

public DeleteAllMembers ( int projectIds ) : void
projectIds int
리턴 void

DeleteComment() 공개 메소드

public DeleteComment ( int comment_id ) : void
comment_id int
리턴 void

GetAllUsers() 공개 메소드

public GetAllUsers ( ) : List
리턴 List

GetComment() 공개 메소드

public GetComment ( int comment_id ) : Comment
comment_id int
리턴 Galileo.Models.Comment

GetComments() 공개 메소드

public GetComments ( string userId ) : List
userId string
리턴 List

GetCourses() 공개 메소드

public GetCourses ( string userId ) : List
userId string
리턴 List

GetEntriesForCourse() 공개 메소드

public GetEntriesForCourse ( int courseId ) : List
courseId int
리턴 List

GetLeaderProjects() 공개 메소드

public GetLeaderProjects ( string leaderId ) : List
leaderId string
리턴 List

GetMinions() 공개 메소드

public GetMinions ( string userId, bool isTeacher ) : List
userId string
isTeacher bool
리턴 List

GetProjects() 공개 메소드

public GetProjects ( int course_id ) : List
course_id int
리턴 List

GetUser() 공개 메소드

public GetUser ( string userId ) : User
userId string
리턴 Galileo.Models.User

GetUserEntries() 공개 메소드

public GetUserEntries ( string userId ) : List
userId string
리턴 List

GetUsersInCourse() 공개 메소드

public GetUsersInCourse ( int course_id ) : List
course_id int
리턴 List

GetUsersInProject() 공개 메소드

public GetUsersInProject ( int projectId ) : List
projectId int
리턴 List

GetUsersInTeam() 공개 메소드

public GetUsersInTeam ( int teamId ) : List
teamId int
리턴 List

GetUsersWithTeams() 공개 메소드

public GetUsersWithTeams ( int courseId ) : List
courseId int
리턴 List

GetUsersWithoutTeams() 공개 메소드

public GetUsersWithoutTeams ( int courseId ) : List
courseId int
리턴 List

InsertProjectManager() 공개 메소드

public InsertProjectManager ( string userId, int projectIds ) : void
userId string
projectIds int
리턴 void

InsertTeamMembers() 공개 메소드

public InsertTeamMembers ( List teams ) : void
teams List
리턴 void

LinkComment() 공개 메소드

public LinkComment ( int commentId, string recipients ) : void
commentId int
recipients string
리턴 void