/// <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> public static Note CreateNote(global::System.Int32 id) { Note note = new Note(); note.ID = id; return note; }