C# 클래스 FT.Model.P20QuestionRepository

상속: Repository, IP20QuestionRepository
파일 보기 프로젝트 열기: friism/folketsting

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
CommentCount ( int qid, CommentType type ) : int

메소드 상세

BackgroundCommentCount() 공개 메소드

public BackgroundCommentCount ( int qid ) : int
qid int
리턴 int

CreateQuestion() 공개 메소드

public CreateQuestion ( P20Question q ) : P20Question
q FT.DB.P20Question
리턴 FT.DB.P20Question

Debated() 공개 메소드

public Debated ( System.DateTime date, int limit ) : IQueryable
date System.DateTime
limit int
리턴 IQueryable

GetQuestion() 공개 메소드

public GetQuestion ( int qid ) : P20Question
qid int
리턴 FT.DB.P20Question

GetQuestionByAnswerPara() 공개 메소드

public GetQuestionByAnswerPara ( int apid ) : P20Question
apid int
리턴 FT.DB.P20Question

LatestActivity() 공개 메소드

public LatestActivity ( int qid ) : System.DateTime
qid int
리턴 System.DateTime

LatestAnsweredByParliament() 공개 메소드

public LatestAnsweredByParliament ( int limit ) : IQueryable
limit int
리턴 IQueryable

LatestByParliament() 공개 메소드

public LatestByParliament ( int limit ) : IQueryable
limit int
리턴 IQueryable

LatestByPeople() 공개 메소드

public LatestByPeople ( int limit ) : IQueryable
limit int
리턴 IQueryable

LatestWithTitle() 공개 메소드

public LatestWithTitle ( string title, System.DateTime date ) : int
title string
date System.DateTime
리턴 int

Ministrys() 공개 메소드

public Ministrys ( ) : IEnumerable
리턴 IEnumerable

PopularByPeople() 공개 메소드

public PopularByPeople ( System.DateTime date, int limit ) : IQueryable
date System.DateTime
limit int
리턴 IQueryable

QuestionCommentCount() 공개 메소드

public QuestionCommentCount ( int qid ) : int
qid int
리턴 int

Recent() 공개 메소드

public Recent ( int limit ) : IQueryable
limit int
리턴 IQueryable

ValidateQuestion() 공개 메소드

public ValidateQuestion ( P20Question q ) : void
q FT.DB.P20Question
리턴 void