SobekCM_Database.Get_OAI_Data Method
Returns a list of either identifiers or records for either the entire system or a single
set, to be served through the OAI-PMH server
Namespace: SobekCM.Library.DatabaseAssembly: SobekCM_Library (in SobekCM_Library.dll) Version: 4.10.0.0 (4.10.0.0)
Syntax
C# |
---|
public static List<OAI_Record> Get_OAI_Data(
string SetCode,
string DataCode,
DateTime FromDate,
DateTime UntilDate,
int PageSize,
int PageNumber,
bool IncludeRecord
) |
Parameters
- SetCode
- Type: System..::..String
Code the OAI-PMH set (which is really an aggregation code)
- DataCode
- Type: System..::..String
Code for the metadata to be served ( usually oai_dc )
- FromDate
- Type: System..::..DateTime
Date from which to pull records which have changed
- UntilDate
- Type: System..::..DateTime
Date to pull up to by last modified date on the records
- PageSize
- Type: System..::..Int32
Number of records to include in a single 'page' of OAI-PMH results
- PageNumber
- Type: System..::..Int32
Page number of the results to return
- IncludeRecord
- Type: System..::..Boolean
Flag indicates whether the full records should be included, or just the identifier
Return Value
Type:
List<(Of <(<'OAI_Record>)>)> DataTable of all the OAI-PMH record information
Remarks
See Also