public void ClearModelContainer() { EntityLastModified.Clear(); EntityXmlString.Clear(); ClinicalTrialData = null; Sponsors.Clear(); Compounds.Clear(); TherapeuticAreas.Clear(); Indications.Clear(); Studies.Clear(); StudyTeams.Clear(); StudySites.Clear(); UserAccounts.Clear(); SiteUserAccounts.Clear(); TeamUserAccounts.Clear(); PortalUserAccounts.Clear(); }
public ModelContainer() { EntityLastModified = new Dictionary <string, string>(); EntityXmlString = new Dictionary <string, string>(); ClinicalTrialData = new ClinicalTrialData(); Sponsors = new List <Sponsor>(); Compounds = new List <Compound>(); TherapeuticAreas = new List <TherapeuticArea>(); Indications = new List <Indication>(); Studies = new List <Study>(); StudyTeams = new List <StudyTeam>(); StudySites = new List <StudySite>(); UserAccounts = new List <UserAccount>(); SiteUserAccounts = new List <UserAccount>(); SiteUserAccountsForIteration = new List <UserAccount>(); InactiveSiteUserAccounts = new List <UserAccount>(); TeamUserAccounts = new List <UserAccount>(); TeamUserAccountsForIteration = new List <UserAccount>(); InactiveTeamUserAccounts = new List <UserAccount>(); PortalUserAccounts = new List <UserAccount>(); }