/// <summary> /// Deprecated Method for adding a new object to the Revisions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRevisions(Revision revision) { base.AddObject("Revisions", revision); }
/// <summary> /// Create a new Revision object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="ticketId">Initial value of the TicketId property.</param> /// <param name="doDate">Initial value of the DoDate property.</param> public static Revision CreateRevision(global::System.Int64 id, global::System.Int32 ticketId, global::System.DateTime doDate) { Revision revision = new Revision(); revision.Id = id; revision.TicketId = ticketId; revision.DoDate = doDate; return revision; }