Пример #1
0
 /// <summary>
 /// Create a new HistoryLog object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="tableName">Initial value of the TableName property.</param>
 /// <param name="typeOfUpdate">Initial value of the TypeOfUpdate property.</param>
 /// <param name="modifiedBy">Initial value of the ModifiedBy property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static HistoryLog CreateHistoryLog(global::System.Guid id, global::System.String tableName, global::System.String typeOfUpdate, global::System.String modifiedBy, global::System.DateTime modifiedDate)
 {
     HistoryLog historyLog = new HistoryLog();
     historyLog.ID = id;
     historyLog.TableName = tableName;
     historyLog.TypeOfUpdate = typeOfUpdate;
     historyLog.ModifiedBy = modifiedBy;
     historyLog.ModifiedDate = modifiedDate;
     return historyLog;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the HistoryLog EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHistoryLog(HistoryLog historyLog)
 {
     base.AddObject("HistoryLog", historyLog);
 }