mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='https://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='https://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='https://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='https://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='https://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
Expand <a href='https://sobekrepository.org/codehelp/engineagnosticlayerdbaccess' title='EngineAgnosticLayerDbAccess'>EngineAgnosticLayerDbAccess Namespace</a>EngineAgnosticLayerDbAccess Namespace
Expand <a href='https://sobekrepository.org/codehelp/builder_library' title='SobekCM.Builder_Library'>Builder_Library Namespace</a>Builder_Library Namespace
Expand <a href='https://sobekrepository.org/codehelp/core' title='SobekCM.Core'>Core Namespace</a>Core Namespace
Expand <a href='https://sobekrepository.org/codehelp/engine_library' title='SobekCM.Engine_Library'>Engine_Library Namespace</a>Engine_Library Namespace
Expand <a href='https://sobekrepository.org/codehelp/library' title='SobekCM.Library'>Library Namespace</a>Library Namespace
Collapse <a href='https://sobekrepository.org/codehelp/resource_object' title='SobekCM.Resource_Object'>Resource_Object Namespace</a>Resource_Object Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/behaviors' title='SobekCM.Resource_Object.Behaviors'>Behaviors Sub-Namespace</a>Behaviors Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/bib_info' title='SobekCM.Resource_Object.Bib_Info'>Bib_Info Sub-Namespace</a>Bib_Info Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/builder' title='SobekCM.Resource_Object.Builder'>Builder Sub-Namespace</a>Builder Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/configuration' title='SobekCM.Resource_Object.Configuration'>Configuration Sub-Namespace</a>Configuration Sub-Namespace
Collapse <a href='https://sobekrepository.org/codehelp/resource_object/database' title='SobekCM.Resource_Object.Database'>Database Sub-Namespace</a>Database Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/divisions' title='SobekCM.Resource_Object.Divisions'>Divisions Sub-Namespace</a>Divisions Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/marc' title='SobekCM.Resource_Object.MARC'>MARC Sub-Namespace</a>MARC Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/mets_sec_readerwriters' title='SobekCM.Resource_Object.METS_Sec_ReaderWriters'>METS_Sec_ReaderWriters Sub-Namespace</a>METS_Sec_ReaderWriters Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/metadata_file_readerwriters' title='SobekCM.Resource_Object.Metadata_File_ReaderWriters'>Metadata_File_ReaderWriters Sub-Namespace</a>Metadata_File_ReaderWriters Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/metadata_modules' title='SobekCM.Resource_Object.Metadata_Modules'>Metadata_Modules Sub-Namespace</a>Metadata_Modules Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/oai' title='SobekCM.Resource_Object.OAI'>OAI Sub-Namespace</a>OAI Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/solr' title='SobekCM.Resource_Object.Solr'>Solr Sub-Namespace</a>Solr Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/testing' title='SobekCM.Resource_Object.Testing'>Testing Sub-Namespace</a>Testing Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/tracking' title='SobekCM.Resource_Object.Tracking'>Tracking Sub-Namespace</a>Tracking Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/utilities' title='SobekCM.Resource_Object.Utilities'>Utilities Sub-Namespace</a>Utilities Sub-Namespace
Expand <a href='https://sobekrepository.org/codehelp/resource_object/bibliographic_mapping' title='Bibliographic_Mapping Class'>Bibliographic_Mapping</a>Bibliographic_Mapping
Expand <a href='https://sobekrepository.org/codehelp/resource_object/download_info_deprecated' title='Download_Info_DEPRECATED Class'>Download_Info_DEPRECATED</a>Download_Info_DEPRECATED
Expand <a href='https://sobekrepository.org/codehelp/resource_object/generic_reader' title='Generic_Reader Class'>Generic_Reader</a>Generic_Reader
Expand <a href='https://sobekrepository.org/codehelp/resource_object/imetadatadescribable' title='iMetadataDescribable Interface'>iMetadataDescribable Interface</a>iMetadataDescribable Interface
Mapped_Fields
Expand <a href='https://sobekrepository.org/codehelp/resource_object/marc_html_writer' title='MARC_HTML_Writer Class'>MARC_HTML_Writer</a>MARC_HTML_Writer
Expand <a href='https://sobekrepository.org/codehelp/resource_object/metadatadescribablebase' title='MetadataDescribableBase Class'>MetadataDescribableBase</a>MetadataDescribableBase
Expand <a href='https://sobekrepository.org/codehelp/resource_object/mets_header_info' title='METS_Header_Info Class'>METS_Header_Info</a>METS_Header_Info
METS_Record_Status
New_SobekCM_Bib_Package_Progress
New_SobekCM_Bib_Package_Progress_Task_Group
Expand <a href='https://sobekrepository.org/codehelp/resource_object/sobekcm_item' title='SobekCM_Item Class'>SobekCM_Item</a>SobekCM_Item
Expand <a href='https://sobekrepository.org/codehelp/resource_object/unanalyzed_mets_section' title='Unanalyzed_METS_Section Class'>Unanalyzed_METS_Section</a>Unanalyzed_METS_Section
Expand <a href='https://sobekrepository.org/codehelp/resource_object/web_info' title='Web_Info Class'>Web_Info</a>Web_Info
Expand <a href='https://sobekrepository.org/codehelp/resource_object/xml_node_base_type' title='XML_Node_Base_Type Class'>XML_Node_Base_Type</a>XML_Node_Base_Type
Expand <a href='https://sobekrepository.org/codehelp/resource_object/xml_writing_base_type' title='XML_Writing_Base_Type Class'>XML_Writing_Base_Type</a>XML_Writing_Base_Type
Expand <a href='https://sobekrepository.org/codehelp/tools' title='SobekCM.Tools'>Tools Namespace</a>Tools Namespace
MISSING BANNER

SobekCM_Database.Save_Item Method



Stores information about a single digital resource ( existing or new )


Namespace: SobekCM.Resource_Object.Database
Assembly: SobekCM_Resource_Object (in SobekCM_Resource_Object.dll) Version: 4.10.0.0 (4.10.0)

Syntax

C#
protected static SobekCM_Database..::..Save_Item_Args Save_Item(
	int GroupID,
	string VID,
	int PageCount,
	int FileCount,
	string Title,
	string SortTitle,
	string Link,
	DateTime CreateDate,
	string PubDate,
	int SortDate,
	string Holding_Code,
	string Source_Code,
	string Author,
	string Spatial_KML,
	double Spatial_KML_Distance,
	double DiskSizeMb,
	string Donor,
	string Publisher,
	string Spatial_Display,
	string Institution_Display,
	string Edition,
	string Material_Display,
	string Measurement_Display,
	string StylePeriod_Display,
	string Technique_Display,
	string Subjects_Display
)

Parameters

GroupID
Type: System..::..Int32
Primary key for the item group / title / bib id
VID
Type: System..::..String
Volume identifier for this item
PageCount
Type: System..::..Int32
Number of pages present in this item
FileCount
Type: System..::..Int32
Number of files present in this item
Title
Type: System..::..String
Main title for this volume
SortTitle
Type: System..::..String
Sort title for this volume ( all caps, and without the leading articles like 'The', 'A', 'Le', etc.. )
Link
Type: System..::..String
Link to this item, if this is not loaded into this digital library
CreateDate
Type: System..::..DateTime
Create date for this item
PubDate
Type: System..::..String
Publication date string
SortDate
Type: System..::..Int32
Sort date is used to sort all items by publication date
Holding_Code
Type: System..::..String
Code for the holding location related to this item
Source_Code
Type: System..::..String
Code for the source institution related to this item
Author
Type: System..::..String
Display field includes all authors' names
Spatial_KML
Type: System..::..String
List of main coordinate points in the main display for this item
Spatial_KML_Distance
Type: System..::..Double
Distance of the hypotenuse of the bounding box made up by the coordinates in this item
DiskSizeMb
Type: System..::..Double
Total size (in MB) of this entire package on the digital library
Donor
Type: System..::..String
Donor string to display for this item within any search or browse results
Publisher
Type: System..::..String
Publishers string to display for this item within any search or browse results ( multiple publishers are seperated by a '|' character )
Spatial_Display
Type: System..::..String
Spatial information string to display for this item within any search or browse results ( multiple compound spatials are seperated by a '|' character )
Institution_Display
Type: System..::..String
Institution statement to display for this item within any search or browse results
Edition
Type: System..::..String
Edition/state string to display for this item within any search or browse results
Material_Display
Type: System..::..String
Materials (i.e. type of materials used to create object) to display for this item within any search or browse results
Measurement_Display
Type: System..::..String
Measurement information to display for this item within any search or browse results
StylePeriod_Display
Type: System..::..String
Style/Period string to display for this item within any search or browse results
Technique_Display
Type: System..::..String
Techniques information string to display for this item within any search or browse results
Subjects_Display
Type: System..::..String
Subjects information string to display for this item within any search or browse results ( multiple compound subjects are seperated by a '|' character )

Return Value

Type: SobekCM_Database..::..Save_Item_Args
Arguments which indicate the item id for this item and whether a new volume was added or not

Remarks

This calls the 'SobekCM_Save_Item' stored procedure in the SobekCM database

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )