private ripRecordType RipOobjectAsDoc(Source bestandEntry, string identificatie, string relatieId, TOPXEntities entities) { //var identificatie = dossierId + "_FILE_" + count; var riprecordType = new ripRecordType() { recordHeader = new ripRecordHeaderType() { identificatie = identificatie, }, metadata = new[] { new ripMetadataType() { schemaURI = "topx", Any = ConvertTopxToXmlElement(GetDocAsTopx(bestandEntry, identificatie, relatieId, entities)) } } }; return(riprecordType); }
private ripRecordType RipBeschikkingAsDossier(Source source, string identificatie, string archiefId) { var riprecordType = new ripRecordType() { recordHeader = new ripRecordHeaderType() { identificatie = Extensions.GetZaakNummerWithYear(source.C2zn__Zaaknummer), //omschrijving = new[] { source.C19_1_DN_Tabnaam }, //status = ripRecordStatusType.gewijzigd }, metadata = new[] { new ripMetadataType() { schemaURI = "topx", Any = ConvertTopxToXmlElement(GetDossierAsTopx(source, archiefId)) } } }; return(riprecordType); }
private ripRecordType RipObjectAsBestand(Source bestandEntry, string dossierId, string relatieId, checksum checksum, FileSizes fileSize, string bestandsformaat, string algoritme) { var identificatie = dossierId; var riprecordType = new ripRecordType() { recordHeader = new ripRecordHeaderType() { identificatie = identificatie, }, metadata = new[] { new ripMetadataType() { schemaURI = "topx", Any = ConvertTopxToXmlElement(GetBestandAsTopx(bestandEntry, relatieId, identificatie, bestandsformaat, algoritme, checksum, fileSize)) } } }; return(riprecordType); }