/// <summary> /// Create a new Note object. /// </summary> /// <param name="noteId">Initial value of the NoteId property.</param> /// <param name="title">Initial value of the Title property.</param> /// <param name="added">Initial value of the Added property.</param> public static Note CreateNote(global::System.Int32 noteId, global::System.String title, global::System.DateTime added) { Note note = new Note(); note.NoteId = noteId; note.Title = title; note.Added = added; return note; }
/// <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); }