コード例 #1
0
        public override DataSet Clone()
        {
            AnswerConnectionData data = (AnswerConnectionData)base.Clone();

            data.InitVars();
            return(data);
        }
コード例 #2
0
        /// <summary>
        /// Returns all question's answer subscribers
        /// </summary>
        public AnswerConnectionData GetQuestionAnswerConnections(int questionId)
        {
            AnswerConnectionData dataSet = new AnswerConnectionData();

            ArrayList commandParameters = new ArrayList();
            {
                commandParameters.Add(new SqlParameter("@QuestionId", questionId).SqlValue);
            }

            DbConnection.db.LoadDataSet("vts_spQuestionGetAnswerConnection", dataSet, new string[] { "AnswerConnections" }, commandParameters.ToArray());
            return dataSet;
        }
コード例 #3
0
 public void RemoveAnswerConnectionsRow(AnswerConnectionData.AnswerConnectionsRow row)
 {
     base.Rows.Remove(row);
 }
コード例 #4
0
 public AnswerConnectionsRowChangeEvent(AnswerConnectionData.AnswerConnectionsRow row, DataRowAction action)
 {
     this.eventRow = row;
     this.eventAction = action;
 }
コード例 #5
0
 public void AddAnswerConnectionsRow(AnswerConnectionData.AnswerConnectionsRow row)
 {
     base.Rows.Add(row);
 }