/// <summary> /// Deprecated Method for adding a new object to the NoteShare EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToNoteShare(NoteShare noteShare) { base.AddObject("NoteShare", noteShare); }
/// <summary> /// Create a new NoteShare object. /// </summary> /// <param name="notebookId">Initial value of the NotebookId property.</param> /// <param name="noteId">Initial value of the NoteId property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="status">Initial value of the Status property.</param> public static NoteShare CreateNoteShare(global::System.Guid notebookId, global::System.Guid noteId, global::System.Guid userId, global::System.Int32 status) { NoteShare noteShare = new NoteShare(); noteShare.NotebookId = notebookId; noteShare.NoteId = noteId; noteShare.UserId = userId; noteShare.Status = status; return noteShare; }