Пример #1
0
 // -------------------------------------------------------------------------------------
 /// <summary>
 /// Copy constructor.
 /// </summary>
 /// <param name="EventIDVal">Value of 'nEventID' field</param>
 /// <param name="NameVal">Value of 'cName' field</param>
 /// <param name="origInstance">Original document data to copy.</param>
 // -------------------------------------------------------------------------------------
 public EventPropertyBase(DBInt EventIDVal,
                      DBString NameVal,
                      EventPropertyBase origInstance)
 {
     m_EventID = EventIDVal;
       m_Name = NameVal;
       m_Value = origInstance.m_Value;
 }
Пример #2
0
 // -------------------------------------------------------------------------------------
 /// <summary>
 /// Copy constructor.
 /// </summary>
 /// <param name="origInstance">Original document data to copy.</param>
 // -------------------------------------------------------------------------------------
 public EventPropertyBase(EventPropertyBase origInstance)
 {
     m_EventID = origInstance.m_EventID;
       m_Name = origInstance.m_Name;
       m_Value = origInstance.m_Value;
 }