Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ModifiedHistories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToModifiedHistories(ModifiedHistory modifiedHistory)
 {
     base.AddObject("ModifiedHistories", modifiedHistory);
 }
Пример #2
0
 /// <summary>
 /// Create a new ModifiedHistory object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="action">Initial value of the Action property.</param>
 /// <param name="comment">Initial value of the Comment property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="dateTime">Initial value of the DateTime property.</param>
 public static ModifiedHistory CreateModifiedHistory(global::System.Int32 id, global::System.String action, global::System.String comment, global::System.Int32 userId, global::System.DateTime dateTime)
 {
     ModifiedHistory modifiedHistory = new ModifiedHistory();
     modifiedHistory.Id = id;
     modifiedHistory.Action = action;
     modifiedHistory.Comment = comment;
     modifiedHistory.UserId = userId;
     modifiedHistory.DateTime = dateTime;
     return modifiedHistory;
 }