/// <summary> /// Deprecated Method for adding a new object to the Notes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToNotes(Note note) { base.AddObject("Notes", note); }
/// <summary> /// Create a new Note object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="ideaId">Initial value of the IdeaId property.</param> /// <param name="dateUpdated">Initial value of the DateUpdated property.</param> /// <param name="dateAdded">Initial value of the DateAdded property.</param> /// <param name="noteText">Initial value of the NoteText property.</param> public static Note CreateNote(global::System.Int32 id, global::System.Int32 ideaId, global::System.DateTime dateUpdated, global::System.DateTime dateAdded, global::System.String noteText) { Note note = new Note(); note.Id = id; note.IdeaId = ideaId; note.DateUpdated = dateUpdated; note.DateAdded = dateAdded; note.NoteText = noteText; return note; }