// -------------------------------------------------------------------------------------
 /// <summary>
 /// Copy constructor.
 /// </summary>
 /// <param name="IDVal">Value of 'cID' field</param>
 /// <param name="TemplateRefVal">Value of 'uTemplateRef' field</param>
 /// <param name="origInstance">Original document data to copy.</param>
 // -------------------------------------------------------------------------------------
 public TemplateDetailBase(DBString IDVal,
                       DBGuid TemplateRefVal,
                       TemplateDetailBase origInstance)
 {
     m_ID = IDVal;
       m_TemplateRef = TemplateRefVal;
       m_Question = origInstance.m_Question;
       m_DataType = origInstance.m_DataType;
       m_Layout = origInstance.m_Layout;
       m_Constraint = origInstance.m_Constraint;
       m_ItemList = origInstance.m_ItemList;
       m_Description = origInstance.m_Description;
       m_Order = origInstance.m_Order;
       m_PageIndex = origInstance.m_PageIndex;
       m_IsActive = origInstance.m_IsActive;
       m_IsFilterCondition = origInstance.m_IsFilterCondition;
 }
 // -------------------------------------------------------------------------------------
 /// <summary>
 /// Copy constructor.
 /// </summary>
 /// <param name="origInstance">Original document data to copy.</param>
 // -------------------------------------------------------------------------------------
 public TemplateDetailBase(TemplateDetailBase origInstance)
 {
     m_ID = origInstance.m_ID;
       m_TemplateRef = origInstance.m_TemplateRef;
       m_Question = origInstance.m_Question;
       m_DataType = origInstance.m_DataType;
       m_Layout = origInstance.m_Layout;
       m_Constraint = origInstance.m_Constraint;
       m_ItemList = origInstance.m_ItemList;
       m_Description = origInstance.m_Description;
       m_Order = origInstance.m_Order;
       m_PageIndex = origInstance.m_PageIndex;
       m_IsActive = origInstance.m_IsActive;
       m_IsFilterCondition = origInstance.m_IsFilterCondition;
 }