Show / Hide Table of Contents

Class FormResponse

Inheritance
object
FormResponse
Implements
IMultiTenant
Namespace: Volo.Forms.Responses
Assembly: Volo.Forms.Domain.dll
Syntax
public class FormResponse : FullAuditedAggregateRoot<Guid>, IMultiTenant

Constructors

FormResponse()

Declaration
protected FormResponse()

FormResponse(Guid, Guid, Guid?, string, Guid?)

Declaration
public FormResponse(Guid id, Guid formId, Guid? userId, string email = null, Guid? tenantId = null)
Parameters
Type Name Description
Guid id
Guid formId
Guid? userId
string email
Guid? tenantId

Properties

Answers

Declaration
public virtual ICollection<Answer> Answers { get; protected set; }
Property Value
Type Description
ICollection<Answer>

Email

Declaration
public virtual string Email { get; protected set; }
Property Value
Type Description
string

FormId

Declaration
public virtual Guid FormId { get; protected set; }
Property Value
Type Description
Guid

TenantId

Declaration
public virtual Guid? TenantId { get; protected set; }
Property Value
Type Description
Guid?

UserId

Declaration
public virtual Guid? UserId { get; protected set; }
Property Value
Type Description
Guid?

Methods

AddOrUpdateAnswer(Guid, Guid, Guid?, string)

Declaration
public virtual void AddOrUpdateAnswer(Guid questionId, Guid answerId, Guid? choiceId, string value)
Parameters
Type Name Description
Guid questionId
Guid answerId
Guid? choiceId
string value

SetEmail(string)

Declaration
public virtual void SetEmail(string email)
Parameters
Type Name Description
string email

Implements

Volo.Abp.MultiTenancy.IMultiTenant

Extension Methods

FormResponseExtensions.GetEmail(FormResponse)
FormResponseExtensions.SetEmail(FormResponse, string)
In this article
Back to top Powered by Volosoft