Exemple #1
0
        /// <summary>
        /// Persists a new instance of KLLikeHistory. Returns true on success.
        /// </summary>
        /// <returns></returns>
        private bool Create()
        {
            int newID = 0;

            newID = DBKLLikeHistory.Create(
                this.authorID,
                this.newsID,
                this.createDate);

            this.likeID = newID;

            return(newID > 0);
        }