C# 클래스 FITKMS_business.Data.DAPitanja

파일 보기 프로젝트 열기: fitba/km-2013-projects-team-bjelasnica

공개 프로퍼티들

프로퍼티 타입 설명
totalRows int

공개 메소드들

메소드 설명
Count ( ) : int
GetGradeForUser ( int pitanjeID, int userID ) : PitanjaOcjene
GradeQuestion ( PitanjaOcjene grade ) : void
SearchByTheme ( string theme, int themeId, int maxRows, int offset ) : List
SelectBestLiked ( ) : List
SelectByTagId ( int tagId, int maxRows, int offset ) : List
SelectLastAnswers ( ) : List
SelectTags ( int pitanjeId ) : List
SelectUnAnswered ( ) : List
Update ( Pitanja question, List tags ) : void
UpdateAnswerStatus ( int IdOdgovora, bool status ) : void

메소드 상세

Count() 공개 정적인 메소드

public static Count ( ) : int
리턴 int

GetGradeForUser() 공개 정적인 메소드

public static GetGradeForUser ( int pitanjeID, int userID ) : PitanjaOcjene
pitanjeID int
userID int
리턴 PitanjaOcjene

GradeQuestion() 공개 정적인 메소드

public static GradeQuestion ( PitanjaOcjene grade ) : void
grade PitanjaOcjene
리턴 void

SearchByTheme() 공개 정적인 메소드

public static SearchByTheme ( string theme, int themeId, int maxRows, int offset ) : List
theme string
themeId int
maxRows int
offset int
리턴 List

SelectBestLiked() 공개 정적인 메소드

public static SelectBestLiked ( ) : List
리턴 List

SelectByTagId() 공개 정적인 메소드

public static SelectByTagId ( int tagId, int maxRows, int offset ) : List
tagId int
maxRows int
offset int
리턴 List

SelectLastAnswers() 공개 정적인 메소드

public static SelectLastAnswers ( ) : List
리턴 List

SelectTags() 공개 정적인 메소드

public static SelectTags ( int pitanjeId ) : List
pitanjeId int
리턴 List

SelectUnAnswered() 공개 정적인 메소드

public static SelectUnAnswered ( ) : List
리턴 List

Update() 공개 정적인 메소드

public static Update ( Pitanja question, List tags ) : void
question Pitanja
tags List
리턴 void

UpdateAnswerStatus() 공개 정적인 메소드

public static UpdateAnswerStatus ( int IdOdgovora, bool status ) : void
IdOdgovora int
status bool
리턴 void

프로퍼티 상세

totalRows 공개적으로 정적으로 프로퍼티

public static int totalRows
리턴 int