示例#1
0
        private bool Create()
        {
            this.questionGuid = Guid.NewGuid();

            int rowsAffected = DBQuestion.Add(
                this.questionGuid,
                this.pageGuid,
                this.questionText,
                this.questionTypeId,
                this.answerIsRequired,
                this.validationMessage
                );

            return(rowsAffected > 0);
        }
示例#2
0
        private bool Create()
        {
            questionGuid = Guid.NewGuid();

            int rowsAffected = DBQuestion.Add(
                questionGuid,
                pageGuid,
                questionName,
                questionText,
                questionTypeId,
                answerIsRequired,
                validationMessage
                );

            return(rowsAffected > 0);
        }