// -------------------------------------------------------------------------------------
   /// <summary>
   /// Copy constructor.
   /// </summary>
   /// <param name="QuestionFormRefVal">Value of 'uQuestionFormRef' field</param>
   /// <param name="TemplateDetailRefVal">Value of 'cTemplateDetailRef' field</param>
   /// <param name="TemplateRefVal">Value of 'uTemplateRef' field</param>
   /// <param name="origInstance">Original document data to copy.</param>
   // -------------------------------------------------------------------------------------
   public QuestionFormDetailBase(DBGuid QuestionFormRefVal,
 DBString TemplateDetailRefVal,
 DBGuid TemplateRefVal,
 QuestionFormDetailBase origInstance)
       : base()
   {
       this.m_QuestionFormRef = QuestionFormRefVal;
         this.m_TemplateDetailRef = TemplateDetailRefVal;
         this.m_TemplateRef = TemplateRefVal;
         this.m_Answer = origInstance.m_Answer;
         this.m_FreetextId = origInstance.m_FreetextId;
   }
 // -------------------------------------------------------------------------------------
 /// <summary>
 /// Copy constructor.
 /// </summary>
 /// <param name="origInstance">Original document data to copy.</param>
 // -------------------------------------------------------------------------------------
 public QuestionFormDetailBase(QuestionFormDetailBase origInstance)
     : base()
 {
     this.m_QuestionFormRef = origInstance.m_QuestionFormRef;
       this.m_TemplateDetailRef = origInstance.m_TemplateDetailRef;
       this.m_TemplateRef = origInstance.m_TemplateRef;
       this.m_Answer = origInstance.m_Answer;
       this.m_FreetextId = origInstance.m_FreetextId;
 }