コード例 #1
0
        /// <summary>
        /// Function to Get Notice by movie
        /// </summary>
        /// <param name="id">int id of movie</param>
        /// <returns>NoticeByMovie</returns>
        public IEnumerable <NoticeByMovie> GetNoticeByMovie(int id)
        {
            Command command = new Command("NoticeByMovie", true);

            command.AddParameter("@IdMovie", id);
            return(Connection.ExecuteReader(command, (NM) => NM.ToDalNoticeByMovie()));
        }