/// <summary> /// Create a new WallBoardItem object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="contentTypeID">Initial value of the ContentTypeID property.</param> /// <param name="fromID">Initial value of the FromID property.</param> /// <param name="toID">Initial value of the ToID property.</param> /// <param name="sendDate">Initial value of the SendDate property.</param> /// <param name="message">Initial value of the Message property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> public static WallBoardItem CreateWallBoardItem(global::System.Guid id, global::System.Int32 contentTypeID, global::System.Guid fromID, global::System.Guid toID, global::System.DateTime sendDate, global::System.String message, global::System.Boolean isDeleted) { WallBoardItem wallBoardItem = new WallBoardItem(); wallBoardItem.ID = id; wallBoardItem.ContentTypeID = contentTypeID; wallBoardItem.FromID = fromID; wallBoardItem.ToID = toID; wallBoardItem.SendDate = sendDate; wallBoardItem.Message = message; wallBoardItem.IsDeleted = isDeleted; return wallBoardItem; }
/// <summary> /// Deprecated Method for adding a new object to the WallBoardItems EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToWallBoardItems(WallBoardItem wallBoardItem) { base.AddObject("WallBoardItems", wallBoardItem); }