Пример #1
0
 /// <summary>
 /// Create a new log object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="date">Initial value of the Date property.</param>
 /// <param name="thread">Initial value of the Thread property.</param>
 /// <param name="level">Initial value of the Level property.</param>
 public static log Createlog(global::System.Int32 id, global::System.DateTime date, global::System.String thread, global::System.String level)
 {
     log log = new log();
     log.ID = id;
     log.Date = date;
     log.Thread = thread;
     log.Level = level;
     return log;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the log EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTolog(log log)
 {
     base.AddObject("log", log);
 }