/// <summary>
 /// Create a new Question object.
 /// </summary>
 /// <param name="questionId">Initial value of the QuestionId property.</param>
 /// <param name="contractId">Initial value of the ContractId property.</param>
 /// <param name="sortOrder">Initial value of the SortOrder property.</param>
 /// <param name="key">Initial value of the Key property.</param>
 /// <param name="text">Initial value of the Text property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="isDeleted">Initial value of the IsDeleted property.</param>
 public static Question CreateQuestion(global::System.Int32 questionId, global::System.Int32 contractId, global::System.Int32 sortOrder, global::System.String key, global::System.String text, global::System.DateTime createDate, global::System.String createdBy, global::System.Boolean isDeleted)
 {
     Question question = new Question();
     question.QuestionId = questionId;
     question.ContractId = contractId;
     question.SortOrder = sortOrder;
     question.Key = key;
     question.Text = text;
     question.CreateDate = createDate;
     question.CreatedBy = createdBy;
     question.IsDeleted = isDeleted;
     return question;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Questions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToQuestions(Question question)
 {
     base.AddObject("Questions", question);
 }