/// <summary> /// Create a new GroupMember object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="memberUserId">Initial value of the MemberUserId property.</param> /// <param name="groupId">Initial value of the GroupId property.</param> /// <param name="title">Initial value of the Title property.</param> /// <param name="administrator">Initial value of the Administrator property.</param> /// <param name="approved">Initial value of the Approved property.</param> /// <param name="dateTimeStamp">Initial value of the DateTimeStamp property.</param> /// <param name="deleted">Initial value of the Deleted property.</param> /// <param name="boardViewed">Initial value of the BoardViewed property.</param> /// <param name="autoAccepted">Initial value of the AutoAccepted property.</param> /// <param name="oldRecord">Initial value of the OldRecord property.</param> public static GroupMember CreateGroupMember(global::System.Int32 id, global::System.Int32 memberUserId, global::System.Int32 groupId, global::System.String title, global::System.Boolean administrator, global::System.Int32 approved, global::System.DateTime dateTimeStamp, global::System.Boolean deleted, global::System.Boolean boardViewed, global::System.Boolean autoAccepted, global::System.Boolean oldRecord) { GroupMember groupMember = new GroupMember(); groupMember.Id = id; groupMember.MemberUserId = memberUserId; groupMember.GroupId = groupId; groupMember.Title = title; groupMember.Administrator = administrator; groupMember.Approved = approved; groupMember.DateTimeStamp = dateTimeStamp; groupMember.Deleted = deleted; groupMember.BoardViewed = boardViewed; groupMember.AutoAccepted = autoAccepted; groupMember.OldRecord = oldRecord; return groupMember; }
/// <summary> /// Deprecated Method for adding a new object to the GroupMembers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGroupMembers(GroupMember groupMember) { base.AddObject("GroupMembers", groupMember); }