Example #1
0
 /// <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;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EventLogs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEventLogs(EventLog eventLog)
 {
     base.AddObject("EventLogs", eventLog);
 }