/// <summary> /// Deprecated Method for adding a new object to the Comments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToComments(Comments comments) { base.AddObject("Comments", comments); }
/// <summary> /// Create a new Comments object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="boardsImagesMappingID">Initial value of the BoardsImagesMappingID property.</param> /// <param name="userID">Initial value of the UserID property.</param> public static Comments CreateComments(global::System.Int32 id, global::System.Int32 boardsImagesMappingID, global::System.Int32 userID) { Comments comments = new Comments(); comments.ID = id; comments.BoardsImagesMappingID = boardsImagesMappingID; comments.UserID = userID; return comments; }