C# Class FT.Model.P20QuestionRepository

Inheritance: Repository, IP20QuestionRepository
Afficher le fichier Open project: friism/folketsting

Méthodes publiques

Méthode Description
BackgroundCommentCount ( int qid ) : int
CreateQuestion ( P20Question q ) : P20Question
Debated ( System.DateTime date, int limit ) : IQueryable
GetQuestion ( int qid ) : P20Question
GetQuestionByAnswerPara ( int apid ) : P20Question
LatestActivity ( int qid ) : System.DateTime
LatestAnsweredByParliament ( int limit ) : IQueryable
LatestByParliament ( int limit ) : IQueryable
LatestByPeople ( int limit ) : IQueryable
LatestWithTitle ( string title, System.DateTime date ) : int
Ministrys ( ) : IEnumerable
PopularByPeople ( System.DateTime date, int limit ) : IQueryable
QuestionCommentCount ( int qid ) : int
Recent ( int limit ) : IQueryable
ValidateQuestion ( P20Question q ) : void

Private Methods

Méthode Description
CommentCount ( int qid, CommentType type ) : int

Method Details

BackgroundCommentCount() public méthode

public BackgroundCommentCount ( int qid ) : int
qid int
Résultat int

CreateQuestion() public méthode

public CreateQuestion ( P20Question q ) : P20Question
q FT.DB.P20Question
Résultat FT.DB.P20Question

Debated() public méthode

public Debated ( System.DateTime date, int limit ) : IQueryable
date System.DateTime
limit int
Résultat IQueryable

GetQuestion() public méthode

public GetQuestion ( int qid ) : P20Question
qid int
Résultat FT.DB.P20Question

GetQuestionByAnswerPara() public méthode

public GetQuestionByAnswerPara ( int apid ) : P20Question
apid int
Résultat FT.DB.P20Question

LatestActivity() public méthode

public LatestActivity ( int qid ) : System.DateTime
qid int
Résultat System.DateTime

LatestAnsweredByParliament() public méthode

public LatestAnsweredByParliament ( int limit ) : IQueryable
limit int
Résultat IQueryable

LatestByParliament() public méthode

public LatestByParliament ( int limit ) : IQueryable
limit int
Résultat IQueryable

LatestByPeople() public méthode

public LatestByPeople ( int limit ) : IQueryable
limit int
Résultat IQueryable

LatestWithTitle() public méthode

public LatestWithTitle ( string title, System.DateTime date ) : int
title string
date System.DateTime
Résultat int

Ministrys() public méthode

public Ministrys ( ) : IEnumerable
Résultat IEnumerable

PopularByPeople() public méthode

public PopularByPeople ( System.DateTime date, int limit ) : IQueryable
date System.DateTime
limit int
Résultat IQueryable

QuestionCommentCount() public méthode

public QuestionCommentCount ( int qid ) : int
qid int
Résultat int

Recent() public méthode

public Recent ( int limit ) : IQueryable
limit int
Résultat IQueryable

ValidateQuestion() public méthode

public ValidateQuestion ( P20Question q ) : void
q FT.DB.P20Question
Résultat void