public StorySettings(StoryProject.storyRow theStoryRow, StoryProject projFile, TeamMemberData loggedOnMember) { StoryName = theStoryRow.name; StoryGuid = theStoryRow.guid; ProjStage = new StoryStageLogic(theStoryRow.stage, loggedOnMember); CraftingInfo = new CraftingInfoData(theStoryRow, projFile, loggedOnMember); }
public StoryData(NewDataSet.storyRow theStoryRow, NewDataSet projFile, bool bHasIndependentConsultant) { Name = theStoryRow.name; guid = theStoryRow.guid; StageTimeStamp = (theStoryRow.IsstageDateTimeStampNull()) ? DateTime.Now : theStoryRow.stageDateTimeStamp; ProjStage = new StoryStageLogic(theStoryRow.stage, bHasIndependentConsultant); CraftingInfo = new CraftingInfoData(theStoryRow); Verses = new VersesData(theStoryRow, projFile); }
public StoryData(StoryData rhs) { Name = rhs.Name; // the guid shouldn't be replicated guid = Guid.NewGuid().ToString(); // rhs.guid; StageTimeStamp = rhs.StageTimeStamp; ProjStage = new StoryStageLogic(rhs.ProjStage); CraftingInfo = new CraftingInfoData(rhs.CraftingInfo); Verses = new VersesData(rhs.Verses); }
public StoryData(string strStoryName, string strCrafterMemberGuid, string strLoggedOnMemberGuid, bool bIsBiblicalStory, ProjectSettings projSettings) { Name = strStoryName; guid = Guid.NewGuid().ToString(); StageTimeStamp = DateTime.Now; ProjStage = new StoryStageLogic(projSettings); CraftingInfo = new CraftingInfoData(strCrafterMemberGuid, strLoggedOnMemberGuid, bIsBiblicalStory); Verses = new VersesData(); Verses.CreateFirstVerse(); }
public CraftingInfoData(CraftingInfoData rhs) { StoryCrafterMemberID = rhs.StoryCrafterMemberID; ProjectFacilitatorMemberID = rhs.ProjectFacilitatorMemberID; StoryPurpose = rhs.StoryPurpose; ResourcesUsed = rhs.ResourcesUsed; BackTranslatorMemberID = rhs.BackTranslatorMemberID; IsBiblicalStory = rhs.IsBiblicalStory; foreach (string strUnsGuid in rhs.Testors) { Testors.Add(strUnsGuid); } }