public TestQuestionData() { guid = Guid.NewGuid().ToString(); QuestionVernacular = new StringTransfer(null); QuestionNationalBT = new StringTransfer(null); QuestionInternationalBT = new StringTransfer(null); Answers = new AnswersData(); }
public TestQuestionData(NewDataSet.TestQuestionRow theTestQuestionRow, NewDataSet projFile) { guid = theTestQuestionRow.guid; IsVisible = theTestQuestionRow.visible; QuestionVernacular = new StringTransfer((theTestQuestionRow.IsTQVernacularNull()) ? null : theTestQuestionRow.TQVernacular); QuestionNationalBT = new StringTransfer((theTestQuestionRow.IsTQNationalBTNull()) ? null : theTestQuestionRow.TQNationalBT); QuestionInternationalBT = new StringTransfer((theTestQuestionRow.IsTQInternationalBTNull()) ? null : theTestQuestionRow.TQInternationalBT); Answers = new AnswersData(theTestQuestionRow, projFile); }
public TestQuestionData(TestQuestionData rhs) { // the guid shouldn't be replicated guid = Guid.NewGuid().ToString(); // rhs.guid; IsVisible = rhs.IsVisible; QuestionVernacular = new StringTransfer(rhs.QuestionVernacular.ToString()); QuestionNationalBT = new StringTransfer(rhs.QuestionNationalBT.ToString()); QuestionInternationalBT = new StringTransfer(rhs.QuestionInternationalBT.ToString()); Answers = new AnswersData(rhs.Answers); }