/// <summary> /// Deprecated Method for adding a new object to the MemberNotes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMemberNotes(MemberNote memberNote) { base.AddObject("MemberNotes", memberNote); }
/// <summary> /// Create a new MemberNote object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="memberID">Initial value of the MemberID property.</param> /// <param name="creationDate">Initial value of the CreationDate property.</param> /// <param name="note">Initial value of the Note property.</param> /// <param name="addedByID">Initial value of the AddedByID property.</param> public static MemberNote CreateMemberNote(global::System.Guid id, global::System.Guid memberID, global::System.DateTime creationDate, global::System.String note, global::System.Guid addedByID) { MemberNote memberNote = new MemberNote(); memberNote.ID = id; memberNote.MemberID = memberID; memberNote.CreationDate = creationDate; memberNote.Note = note; memberNote.AddedByID = addedByID; return memberNote; }