Ejemplo n.º 1
0
 public VerseData()
 {
     guid                = Guid.NewGuid().ToString();
     VernacularText      = new StringTransfer(null);
     NationalBTText      = new StringTransfer(null);
     InternationalBTText = new StringTransfer(null);
     Anchors             = new AnchorsData();
     TestQuestions       = new TestQuestionsData();
     Retellings          = new RetellingsData();
     ConsultantNotes     = new ConsultantNotesData();
     CoachNotes          = new CoachNotesData();
 }
Ejemplo n.º 2
0
        public VerseData(VerseData rhs)
        {
            // the guid shouldn't be replicated
            guid         = Guid.NewGuid().ToString();       // rhs.guid;
            IsFirstVerse = rhs.IsFirstVerse;
            IsVisible    = rhs.IsVisible;

            VernacularText      = new StringTransfer(rhs.VernacularText.ToString());
            NationalBTText      = new StringTransfer(rhs.NationalBTText.ToString());
            InternationalBTText = new StringTransfer(rhs.InternationalBTText.ToString());
            Anchors             = new AnchorsData(rhs.Anchors);
            TestQuestions       = new TestQuestionsData(rhs.TestQuestions);
            Retellings          = new RetellingsData(rhs.Retellings);
            ConsultantNotes     = new ConsultantNotesData(rhs.ConsultantNotes);
            CoachNotes          = new CoachNotesData(rhs.CoachNotes);
        }
Ejemplo n.º 3
0
        public VerseData(NewDataSet.verseRow theVerseRow, NewDataSet projFile)
        {
            guid = theVerseRow.guid;

            if (!theVerseRow.IsfirstNull())
            {
                IsFirstVerse = theVerseRow.first;
            }

            if (!theVerseRow.IsvisibleNull())
            {
                IsVisible = theVerseRow.visible;
            }

            VernacularText      = new StringTransfer((!theVerseRow.IsVernacularNull()) ? theVerseRow.Vernacular : null);
            NationalBTText      = new StringTransfer((!theVerseRow.IsNationalBTNull()) ? theVerseRow.NationalBT : null);
            InternationalBTText = new StringTransfer((!theVerseRow.IsInternationalBTNull()) ? theVerseRow.InternationalBT : null);

            Anchors         = new AnchorsData(theVerseRow, projFile);
            TestQuestions   = new TestQuestionsData(theVerseRow, projFile);
            Retellings      = new RetellingsData(theVerseRow, projFile);
            ConsultantNotes = new ConsultantNotesData(theVerseRow, projFile);
            CoachNotes      = new CoachNotesData(theVerseRow, projFile);
        }