C# Класс NDG.DataAccessModels.Repositories.SurveyRepository

Наследование: Repository, ISurveyRepository
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

AddNewSurveyCollectionForUser() публичный Метод

public AddNewSurveyCollectionForUser ( IEnumerable surveys, int userID ) : void
surveys IEnumerable
userID int
Результат void

AddNewSurveyForUser() публичный Метод

public AddNewSurveyForUser ( Survey survey, int userID ) : void
survey Survey
userID int
Результат void

DeleteSurvey() публичный Метод

public DeleteSurvey ( int surveyID ) : bool
surveyID int
Результат bool

GetAllUserSurveys() публичный Метод

public GetAllUserSurveys ( int userID ) : IEnumerable
userID int
Результат IEnumerable

GetCompletedResponseSets() публичный Метод

public GetCompletedResponseSets ( int surveyID ) : IEnumerable
surveyID int
Результат IEnumerable

GetInProgressResponseSets() публичный Метод

public GetInProgressResponseSets ( int surveyID ) : IEnumerable
surveyID int
Результат IEnumerable

GetSubmittedResponseSets() публичный Метод

public GetSubmittedResponseSets ( int surveyID ) : IEnumerable
surveyID int
Результат IEnumerable

GetSurveyByID() публичный Метод

public GetSurveyByID ( int id ) : Survey
id int
Результат Survey

GetSurveyByResponseSetID() публичный Метод

public GetSurveyByResponseSetID ( int responseSetID ) : Survey
responseSetID int
Результат Survey

GetSurveyResponseSetsBySurveyID() публичный Метод

public GetSurveyResponseSetsBySurveyID ( int surveyID ) : IEnumerable
surveyID int
Результат IEnumerable

GetUserTopSurveys() публичный Метод

public GetUserTopSurveys ( int topCount, int userID ) : IEnumerable
topCount int
userID int
Результат IEnumerable