Show / Hide Table of Contents

Interface IFormRepository

Namespace: Volo.Forms.Forms
Assembly: Volo.Forms.Domain.dll
Syntax
public interface IFormRepository : IBasicRepository<Form, Guid>, IBasicRepository<Form>, IReadOnlyBasicRepository<Form>, IRepository, IReadOnlyBasicRepository<Form, Guid>

Methods

GetCountAsync(string, CancellationToken)

Declaration
Task<long> GetCountAsync(string filter = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string filter
CancellationToken cancellationToken
Returns
Type Description
Task<long>

GetListAsync(string, int, int, string, CancellationToken)

Declaration
Task<List<Form>> GetListAsync(string sorting = null, int maxResultCount = 2147483647, int skipCount = 0, string filter = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string sorting
int maxResultCount
int skipCount
string filter
CancellationToken cancellationToken
Returns
Type Description
Task<List<Form>>

GetWithQuestionsAsync(Guid, bool, CancellationToken)

Declaration
Task<FormWithQuestions> GetWithQuestionsAsync(Guid id, bool includeChoices = false, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Guid id
bool includeChoices
CancellationToken cancellationToken
Returns
Type Description
Task<FormWithQuestions>
In this article
Back to top Powered by Volosoft