C# Class NDG.DataAccessModels.Repositories.SurveyRepository

Inheritance: Repository, ISurveyRepository
Mostrar archivo Open project: nokiadatagathering/WP7-Official Class Usage Examples

Public Methods

Method Description
AddNewSurveyCollectionForUser ( IEnumerable surveys, int userID ) : void
AddNewSurveyForUser ( Survey survey, int userID ) : void
DeleteSurvey ( int surveyID ) : bool
GetAllUserSurveys ( int userID ) : IEnumerable
GetCompletedResponseSets ( int surveyID ) : IEnumerable
GetInProgressResponseSets ( int surveyID ) : IEnumerable
GetSubmittedResponseSets ( int surveyID ) : IEnumerable
GetSurveyByID ( int id ) : Survey
GetSurveyByResponseSetID ( int responseSetID ) : Survey
GetSurveyResponseSetsBySurveyID ( int surveyID ) : IEnumerable
GetUserTopSurveys ( int topCount, int userID ) : IEnumerable

Method Details

AddNewSurveyCollectionForUser() public method

public AddNewSurveyCollectionForUser ( IEnumerable surveys, int userID ) : void
surveys IEnumerable
userID int
return void

AddNewSurveyForUser() public method

public AddNewSurveyForUser ( Survey survey, int userID ) : void
survey Survey
userID int
return void

DeleteSurvey() public method

public DeleteSurvey ( int surveyID ) : bool
surveyID int
return bool

GetAllUserSurveys() public method

public GetAllUserSurveys ( int userID ) : IEnumerable
userID int
return IEnumerable

GetCompletedResponseSets() public method

public GetCompletedResponseSets ( int surveyID ) : IEnumerable
surveyID int
return IEnumerable

GetInProgressResponseSets() public method

public GetInProgressResponseSets ( int surveyID ) : IEnumerable
surveyID int
return IEnumerable

GetSubmittedResponseSets() public method

public GetSubmittedResponseSets ( int surveyID ) : IEnumerable
surveyID int
return IEnumerable

GetSurveyByID() public method

public GetSurveyByID ( int id ) : Survey
id int
return Survey

GetSurveyByResponseSetID() public method

public GetSurveyByResponseSetID ( int responseSetID ) : Survey
responseSetID int
return Survey

GetSurveyResponseSetsBySurveyID() public method

public GetSurveyResponseSetsBySurveyID ( int surveyID ) : IEnumerable
surveyID int
return IEnumerable

GetUserTopSurveys() public method

public GetUserTopSurveys ( int topCount, int userID ) : IEnumerable
topCount int
userID int
return IEnumerable