C# 클래스 Tailspin.Surveys.Data.DataStore.SqlServerSurveyStore

상속: ISurveyStore
파일 보기 프로젝트 열기: Azure-Samples/guidance-identity-management-for-multitenant-apps 1 사용 예제들

공개 메소드들

메소드 설명
AddSurveyAsync ( Survey survey ) : Task
DeleteSurveyAsync ( Survey survey ) : Task
GetPublishedSurveysAsync ( int pageIndex, int pageSize = Constants.DefaultPageSize ) : Task>
GetPublishedSurveysByOwnerAsync ( int userId, int pageIndex, int pageSize = Constants.DefaultPageSize ) : Task>
GetPublishedSurveysByTenantAsync ( int tenantId, int pageIndex, int pageSize = Constants.DefaultPageSize ) : Task>
GetSurveyAsync ( int id ) : Task
GetSurveysByContributorAsync ( int userId, int pageIndex, int pageSize = Constants.DefaultPageSize ) : Task>
GetSurveysByOwnerAsync ( int userId, int pageIndex, int pageSize = Constants.DefaultPageSize ) : Task>
GetUnPublishedSurveysByTenantAsync ( int tenantId, int pageIndex, int pageSize = Constants.DefaultPageSize ) : Task>
PublishSurveyAsync ( int id ) : Task
SqlServerSurveyStore ( ApplicationDbContext dbContext ) : System
UnPublishSurveyAsync ( int id ) : Task
UpdateSurveyAsync ( Survey survey ) : Task

메소드 상세

AddSurveyAsync() 공개 메소드

public AddSurveyAsync ( Survey survey ) : Task
survey Tailspin.Surveys.Data.DataModels.Survey
리턴 Task

DeleteSurveyAsync() 공개 메소드

public DeleteSurveyAsync ( Survey survey ) : Task
survey Tailspin.Surveys.Data.DataModels.Survey
리턴 Task

GetPublishedSurveysAsync() 공개 메소드

public GetPublishedSurveysAsync ( int pageIndex, int pageSize = Constants.DefaultPageSize ) : Task>
pageIndex int
pageSize int
리턴 Task>

GetPublishedSurveysByOwnerAsync() 공개 메소드

public GetPublishedSurveysByOwnerAsync ( int userId, int pageIndex, int pageSize = Constants.DefaultPageSize ) : Task>
userId int
pageIndex int
pageSize int
리턴 Task>

GetPublishedSurveysByTenantAsync() 공개 메소드

public GetPublishedSurveysByTenantAsync ( int tenantId, int pageIndex, int pageSize = Constants.DefaultPageSize ) : Task>
tenantId int
pageIndex int
pageSize int
리턴 Task>

GetSurveyAsync() 공개 메소드

public GetSurveyAsync ( int id ) : Task
id int
리턴 Task

GetSurveysByContributorAsync() 공개 메소드

public GetSurveysByContributorAsync ( int userId, int pageIndex, int pageSize = Constants.DefaultPageSize ) : Task>
userId int
pageIndex int
pageSize int
리턴 Task>

GetSurveysByOwnerAsync() 공개 메소드

public GetSurveysByOwnerAsync ( int userId, int pageIndex, int pageSize = Constants.DefaultPageSize ) : Task>
userId int
pageIndex int
pageSize int
리턴 Task>

GetUnPublishedSurveysByTenantAsync() 공개 메소드

public GetUnPublishedSurveysByTenantAsync ( int tenantId, int pageIndex, int pageSize = Constants.DefaultPageSize ) : Task>
tenantId int
pageIndex int
pageSize int
리턴 Task>

PublishSurveyAsync() 공개 메소드

public PublishSurveyAsync ( int id ) : Task
id int
리턴 Task

SqlServerSurveyStore() 공개 메소드

public SqlServerSurveyStore ( ApplicationDbContext dbContext ) : System
dbContext Tailspin.Surveys.Data.DataModels.ApplicationDbContext
리턴 System

UnPublishSurveyAsync() 공개 메소드

public UnPublishSurveyAsync ( int id ) : Task
id int
리턴 Task

UpdateSurveyAsync() 공개 메소드

public UpdateSurveyAsync ( Survey survey ) : Task
survey Tailspin.Surveys.Data.DataModels.Survey
리턴 Task