using Ease.Core.DataAccess; using Ease.Core.Model; using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Reflection; namespace HRM.BO { public class SurveyQuestion : AuditTrailBase { #region Constructor public SurveyQuestion() { _surveyID = 0; _questionID = 0; } #endregion #region Properties #region SurveyID : ID private int _surveyID; public int SurveyID { get { return _surveyID; } set { _surveyID = value; } } #endregion #region QuestionID : int private int _questionID; public int QuestionID { get { return _questionID; } set { _questionID = value; } } #endregion #region Service Factory IPFTransactionService : IPFTransactionService public Question Question { get; set; } internal static ISurveyQuestionService Service { get { return Services.Factory.CreateService(typeof(ISurveyQuestionService)); } } #endregion #endregion } #region ISurveyQuestion Service public interface ISurveyQuestionService { List GetSurveyQuestion(int surveyId); List GetSurveyQuestion(); int Save(SurveyQuestion item); void Delete(int id); List GetSurveyQuestions(TransactionContext tc, string surveyIds); } #endregion }