/// <summary> /// Deprecated Method for adding a new object to the RuleAnswers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRuleAnswers(RuleAnswer ruleAnswer) { base.AddObject("RuleAnswers", ruleAnswer); }
public void LogEligibility(RuleAnswer answer) { throw new NotImplementedException(); }
/// <summary> /// Create a new RuleAnswer object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="question">Initial value of the Question property.</param> /// <param name="answer">Initial value of the Answer property.</param> /// <param name="isEligible">Initial value of the IsEligible property.</param> /// <param name="sessionID">Initial value of the SessionID property.</param> /// <param name="userHostAddress">Initial value of the UserHostAddress property.</param> public static RuleAnswer CreateRuleAnswer(global::System.Int32 id, global::System.String question, global::System.String answer, global::System.Boolean isEligible, global::System.String sessionID, global::System.String userHostAddress) { RuleAnswer ruleAnswer = new RuleAnswer(); ruleAnswer.Id = id; ruleAnswer.Question = question; ruleAnswer.Answer = answer; ruleAnswer.IsEligible = isEligible; ruleAnswer.SessionID = sessionID; ruleAnswer.UserHostAddress = userHostAddress; return ruleAnswer; }