コード例 #1
0
        public List <PortComment> SelectByPid(int pid)
        {
            List <PortComment> comments = new PortCommentDAO().SelectByPid(pid);

            return(comments);
        }
コード例 #2
0
        public int AddComment()
        {
            int result = new PortCommentDAO().Insert(this);

            return(result);
        }