Interface IAnswerCreator
The system entity for automatically creating answers for questions
Inherited Members
Namespace: LemonEdge.API.Entities.Questionaire
Assembly: LemonEdge.API.dll
Syntax
[EntityDefinition(EntityID.AnswerCreator, "dbo.LT_AnswerCreators", "AnswerCreator", IsStandingDataEntity = true)]
[DefaultEntityIcon(ImageType.Answer)]
public interface IAnswerCreator : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
EntityTypeID
[Key] The type of entity the answers for this question type should automatically be created on a new entity
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false, IsEntityTypeLink = true)]
[EntityKeyProperty]
[RequiredNoDefaultIDValidation]
[EntityDescription("The type of entity the answers for this question type should be created on a new entity.")]
Guid EntityTypeID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
QuestionTypeID
Links to IQuestionType. The parent type this answer creator belongs to
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.QuestionType, "ID", SingleJoinType.One, "Question Type", "Creators", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = true, InheritPermissions = true)]
[RequiredNoDefaultIDValidation]
[EntityKeyProperty]
Guid QuestionTypeID { get; set; }
Property Value
Type | Description |
---|---|
Guid |