C# 클래스 iServe.Models.Need

상속: IAuditable
파일 보기 프로젝트 열기: fellowshiptech/ft-iserve 1 사용 예제들

공개 메소드들

메소드 설명
GetAllByChurchID ( int churchID ) : NeedQuery
GetAllByUser ( int userID, string>.Dictionary &userNeedStatuses ) : List
GetByKeyAndUserID ( int iD, int userID ) : Need

Gets the need with the specified id which was submitted by the specified user id.

GetByUserID ( int userID ) : IQueryable

Gets all the needs that are submitted by the specified user.

GetInvolvementCounts ( List needs ) : InvolvementCount>.Dictionary

Takes a list of Needs and returns a dictionary of InvolvementCount objects with NeedID as key

비공개 메소드들

메소드 설명
OnCreated ( ) : void

메소드 상세

GetAllByChurchID() 공개 메소드

public GetAllByChurchID ( int churchID ) : NeedQuery
churchID int
리턴 NeedQuery

GetAllByUser() 공개 메소드

public GetAllByUser ( int userID, string>.Dictionary &userNeedStatuses ) : List
userID int
userNeedStatuses string>.Dictionary
리턴 List

GetByKeyAndUserID() 공개 메소드

Gets the need with the specified id which was submitted by the specified user id.
public GetByKeyAndUserID ( int iD, int userID ) : Need
iD int /// The id of the need. ///
userID int /// The id of the user that submitted the need. ///
리턴 Need

GetByUserID() 공개 메소드

Gets all the needs that are submitted by the specified user.
public GetByUserID ( int userID ) : IQueryable
userID int /// The user id of the user that submitted the need. ///
리턴 IQueryable

GetInvolvementCounts() 공개 메소드

Takes a list of Needs and returns a dictionary of InvolvementCount objects with NeedID as key
public GetInvolvementCounts ( List needs ) : InvolvementCount>.Dictionary
needs List
리턴 InvolvementCount>.Dictionary