/// <summary> /// Create a new EventLog object. /// </summary> /// <param name="idEventLog">Initial value of the idEventLog property.</param> /// <param name="eventDate">Initial value of the EventDate property.</param> public static EventLog CreateEventLog(global::System.Int32 idEventLog, global::System.DateTime eventDate) { EventLog eventLog = new EventLog(); eventLog.idEventLog = idEventLog; eventLog.EventDate = eventDate; return eventLog; }
/// <summary> /// Deprecated Method for adding a new object to the EventLogs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEventLogs(EventLog eventLog) { base.AddObject("EventLogs", eventLog); }