Class ApplicationFormQuestionChoice
This class represents the EntityModel interface to the AmApplicationQuestionChoices database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Admissions
Assembly: Cmc.Nexus.Models.dll
Syntax
public class ApplicationFormQuestionChoice
Constructors
ApplicationFormQuestionChoice()
Declaration
public ApplicationFormQuestionChoice()
Properties
ApplicationFormQuestion
Declaration
public virtual ApplicationFormQuestion ApplicationFormQuestion { get; set; }
Property Value
| Type | Description |
|---|---|
| ApplicationFormQuestion |
ApplicationFormQuestionId
Gets or sets the ApplicationFormQuestionId associated with this ApplicationFormQuestionChoice.
Declaration
public int ApplicationFormQuestionId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The ApplicationFormQuestionId. |
ChoiceResponseDataType
Gets or sets the ChoiceResponseDataType associated with this ApplicationFormQuestionChoice.
Declaration
public string ChoiceResponseDataType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The ChoiceResponseDataType. |
ChoiceResponseNumber
Gets or sets the ChoiceResponseNumber associated with this ApplicationFormQuestionChoice.
Declaration
public int ChoiceResponseNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The ChoiceResponseNumber. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this ApplicationFormQuestionChoice.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The CreatedDateTime. |
Id
Gets or sets the Id associated with this ApplicationFormQuestionChoice.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
IsFreeTextAllowed
Gets or sets the IsFreeTextAllowed associated with this ApplicationFormQuestionChoice.
Declaration
public bool IsFreeTextAllowed { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsFreeTextAllowed. |
IsFreeTextRequired
Gets or sets the IsFreeTextRequired associated with this ApplicationFormQuestionChoice.
Declaration
public bool IsFreeTextRequired { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsFreeTextRequired. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this ApplicationFormQuestionChoice.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this ApplicationFormQuestionChoice.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The LastModifiedUserId. |
QuestionChoiceText
Gets or sets the QuestionChoiceText associated with this ApplicationFormQuestionChoice.
Declaration
public string QuestionChoiceText { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The QuestionChoiceText. |
Methods
GeneratedInitializer()
This is the auto-generated initializer that knows how to deal with any relationship initialization for auto-generated relationships.
Declaration
public void GeneratedInitializer()
SetupFluentMappings(DbModelBuilder)
Any type of relationship that can't be inferred from the entity annotations must be done by hand using the Fluent api. Handle those relationships here.
Declaration
public static void SetupFluentMappings(DbModelBuilder modelBuilder)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Data.Entity.DbModelBuilder | modelBuilder | The DbModelBuilder that has all of the model entities. |