C# Class FITKMS_business.Data.DAPitanja

Exibir arquivo Open project: fitba/km-2013-projects-team-bjelasnica

Public Properties

Property Type Description
totalRows int

Public Methods

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

Method Details

Count() public static method

public static Count ( ) : int
return int

GetGradeForUser() public static method

public static GetGradeForUser ( int pitanjeID, int userID ) : PitanjaOcjene
pitanjeID int
userID int
return PitanjaOcjene

GradeQuestion() public static method

public static GradeQuestion ( PitanjaOcjene grade ) : void
grade PitanjaOcjene
return void

SearchByTheme() public static method

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

SelectBestLiked() public static method

public static SelectBestLiked ( ) : List
return List

SelectByTagId() public static method

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

SelectLastAnswers() public static method

public static SelectLastAnswers ( ) : List
return List

SelectTags() public static method

public static SelectTags ( int pitanjeId ) : List
pitanjeId int
return List

SelectUnAnswered() public static method

public static SelectUnAnswered ( ) : List
return List

Update() public static method

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

UpdateAnswerStatus() public static method

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

Property Details

totalRows public_oe static_oe property

public static int totalRows
return int