internal static TempConceptSchemeRef Create(ConceptScheme scheme) { if (scheme == null) { return(null); } TempConceptSchemeRef schemeRef = new TempConceptSchemeRef(); schemeRef.ID = scheme.ID; schemeRef.Version = scheme.Version; schemeRef.AgencyID = scheme.AgencyID; return(schemeRef); }
internal static TempConceptRef Create(Concept concept) { if (concept == null) { return(null); } TempConceptRef conceptRef = new TempConceptRef(); conceptRef.ID = concept.ID; conceptRef.Version = concept.Version; conceptRef.AgencyID = concept.AgencyID; conceptRef.SchemeRef = TempConceptSchemeRef.Create(concept.ConceptScheme); return(conceptRef); }