}//END method AddEvent #endregion #region Static methods // ===================================================================================== /// <summary> /// This class adds items to the application event table. /// </summary> /// <param name="ApplicationEvent">EvApplicationEvent: An application event object</param> /// <returns>EvEventCodes: an event code for adding items</returns> /// <remarks> /// This method consists of the following steps: /// /// 1. Execute the method for adding items to application event ResultData table. /// /// 2. Return event code for adding items. /// /// 3. Else, exit. /// </remarks> // ------------------------------------------------------------------------------------- public static EvEventCodes NewEvent( EvApplicationEvent ApplicationEvent) { try { // // Initialise the method variables // Evado.Digital.Dal.EvApplicationEvents dalApplicationEvents = new Evado.Digital.Dal.EvApplicationEvents( ); // // If the action is set to delete the object. // return(dalApplicationEvents.addEvent(ApplicationEvent)); } catch { return(EvEventCodes.Database_Communications_Error); } }//END AddEvent class