Click or drag to resize
Askia

IResponse Interface

Response interface

Namespace:  AskiaCore
Assembly:  AskiaCore (in AskiaCore.dll) Version: 6.0.0-build000000000000000000000000000000000000000001
Syntax
public interface IResponse : IRecordEntity

The IResponse type exposes the following members.

Properties
  NameDescription
Public propertyBaseType
Base type of the response
Public propertyCreatedAt
DateTime the record was created at
(Inherited from IRecordEntity.)
Public propertyCreatedBy
Id of the user which created the record
(Inherited from IRecordEntity.)
Public propertyDeletedAt
DateTime at which the record was last deleted
(Inherited from IRecordEntity.)
Public propertyDeletedBy
Id of the user which last deleted the record
(Inherited from IRecordEntity.)
Public propertyEntryCode
Entry code of the response
Public propertyFactor
Factor of the response
Public propertyFirstChild
First child response
Public propertyId
Id of the record
(Inherited from IRecordEntity.)
Public propertyIsExcludedFromTranslation
Indicates if the response is excluded from translation
Public propertyIsExclusive
Indicates if the response is exclusive
Public propertyIsSelectable
Indicates if the response is selectable
Public propertyLastChild
Last child response
Public propertyLastError
Last error that occurred
(Inherited from IRecordEntity.)
Public propertyNextSibling
Next sibling response
Public propertyParentId
Id of the parent response
Public propertyPosition
Position of the response
Public propertyPrevSibling
Previous sibling response
Public propertyQuestionId
Id of the question
Public propertyResourceId
Id of the resource used by the response
Public propertyRotationBehaviour
Rotation behavior of the response
Public propertySemiOpenQuestionId
Id of the semi=open question for the response
Public propertyType
Type of the question
Public propertyUpdatedAt
DateTime at which the record was last updated
(Inherited from IRecordEntity.)
Public propertyUpdatedBy
Id of the user which last updated the record
(Inherited from IRecordEntity.)
Public propertyUserData
User data for the response
Top
Methods
  NameDescription
Public methodAddToScenario
Add the response to a given scenario
Public methodDelete
Deletes the record in the database
(Inherited from IRecordEntity.)
Public methodGetMainCaption
Retrieves the main caption of the response
Public methodGetMainCaptions
Retrieve main captions for all languages in the survey.
Public methodGetScenarios
Retrieve a list the scenarios containing this response
Public methodIsDeleted
Indicates if the record is flagged as deleted
(Inherited from IRecordEntity.)
Public methodIsLoaded
Checks if the record is successfully loaded from the database
(Inherited from IRecordEntity.)
Public methodReload
Reloads the record
(Inherited from IRecordEntity.)
Public methodRemoveFromScenario
Remove the resource from a given scenario
Public methodRestore
Restores the deleted record in the database
(Inherited from IRecordEntity.)
Public methodSave
Saves the record in the database
(Inherited from IRecordEntity.)
Public methodSetMainCaption
Sets the main caption of the response
Public methodSetMainCaptions
Set main captions for languages in the survey.
Top
See Also