Class QuestionType
Assembly: LemonEdge.API.Entities.Auto.dll
Syntax
[DataContract]
public class QuestionType : BaseEntityWithPermissions, IQuestionType, IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ISetCopier, ICloneableAsync<IQuestionType>
Constructors
QuestionType()
Declaration
Properties
Description
A user friendly description of this question type
Declaration
[StringLength(2000)]
public string Description { get; set; }
Property Value
Name
[Key] A unique friendly name for this question type.
Declaration
[Unique]
[Required]
[StringLength(500)]
public string Name { get; set; }
Property Value
A formula to run when an answer is changed by the user
Declaration
public string OnAnswerChangeFormula { get; set; }
Property Value
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Overrides
CopyFromSource(IQuestionType)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(IQuestionType source)
Parameters
Type |
Name |
Description |
IQuestionType |
source |
The source object to copy all values from.
|
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods