private QuestionSet(TestQuestionSetSet.QuestionSetsRow value) : base(value.Name, new QuestionType( new OptionalInteger(value.IsQuestionTypeIdNull() ? null : (Object)value.QuestionTypeId), new OptionalInteger(value.IsQuestionSubtypeIdNull() ? null : (Object)value.QuestionSubtypeId))) { this.value = value; }
public QuestionSet(TestQuestionSetSet.QuestionSetsRow value, Entity parent) : base(value.Name, new QuestionType( new OptionalInteger(value.IsQuestionTypeIdNull() ? null : (Object)value.QuestionTypeId), new OptionalInteger(value.IsQuestionSubtypeIdNull() ? null : (Object)value.QuestionSubtypeId))) { this.value = value; parent.AddNewChild(this); connection = ((Connection)Root); }