public override DataSet Clone() { AnswerConnectionData data = (AnswerConnectionData)base.Clone(); data.InitVars(); return(data); }
/// <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; }
public void RemoveAnswerConnectionsRow(AnswerConnectionData.AnswerConnectionsRow row) { base.Rows.Remove(row); }
public AnswerConnectionsRowChangeEvent(AnswerConnectionData.AnswerConnectionsRow row, DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void AddAnswerConnectionsRow(AnswerConnectionData.AnswerConnectionsRow row) { base.Rows.Add(row); }