예제 #1
0
        public static long Delete(long personID)
        {
            try
            {
                long count = 0;
                count = AccessDatabase.Delete(QueryRepository.Person_Delete, "@PersonID", personID);

                return(count);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
예제 #2
0
파일: Genre_SP.cs 프로젝트: mononobi/imovie
        public static long Delete(long genreID)
        {
            try
            {
                long count = 0;
                count = AccessDatabase.Delete(QueryRepository.Genre_Delete, "@GenreID", genreID);

                return(count);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }