/// <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="title">Initial value of the Title property.</param> /// <param name="user">Initial value of the User property.</param> public static Note CreateNote(global::System.Int32 id, global::System.String title, global::System.String user) { Note note = new Note(); note.Id = id; note.Title = title; note.User = user; return note; }