/// <summary> /// Create a new GroupBoard object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="groupId">Initial value of the GroupId property.</param> /// <param name="message">Initial value of the Message property.</param> /// <param name="dateTimeStamp">Initial value of the DateTimeStamp property.</param> public static GroupBoard CreateGroupBoard(global::System.Int32 id, global::System.Int32 userId, global::System.Int32 groupId, global::System.String message, global::System.DateTime dateTimeStamp) { GroupBoard groupBoard = new GroupBoard(); groupBoard.Id = id; groupBoard.UserId = userId; groupBoard.GroupId = groupId; groupBoard.Message = message; groupBoard.DateTimeStamp = dateTimeStamp; return groupBoard; }
/// <summary> /// Deprecated Method for adding a new object to the GroupBoards EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGroupBoards(GroupBoard groupBoard) { base.AddObject("GroupBoards", groupBoard); }