Click or drag to resize

cEIIXMLDataSource Class

Data access for an EwE6 .eiixml file
Inheritance Hierarchy
SystemObject
  EwECorecEIIXMLDataSource

Namespace:  EwECore
Assembly:  EwECore (in EwECore.dll) Version: 6.6.15981.0 (6.6.15981.0)
Syntax
public class cEIIXMLDataSource : IEwEDataSource, 
	IEcopathDataSource, IEcosimDatasource, IEcospaceDatasource

The cEIIXMLDataSource type exposes the following members.

Constructors
  NameDescription
Public methodcEIIXMLDataSource
Initializes a new instance of the cEIIXMLDataSource class
Top
Properties
  NameDescription
Public propertyConnection
Get the name of the EII file that this datasource operates on.
Top
Methods
  NameDescription
Public methodAddEcospaceDriverLayer
Public methodAddEcospaceHabitat
Public methodAddFleet
Adds a fleet to the datasource.
Public methodAddGroup
Create a record for a new Ecopath group in the datasource.
Public methodAddPedigreeLevel
Public methodAddStanzaLifestage
Adds a life stage to an existing stanza configuration.
Public methodAddTaxon
Protected methodAppendEcosimScenario
Adds an ecosim scenario to the EII.
Public methodAppendEcospaceImportanceLayer
Public methodAppendEcospaceMPA
Public methodAppendEcospaceScenario
Public methodAppendShape
Appends a forcing shape to the EII.
Protected methodAppendStanza
Adds a stanza group to the EII.
Public methodAppendTimeSeries
Adds a time series to the datasource.
Public methodAppendTimeSeriesDataset
Public methodBeginTransaction
Public methodCanCompact
Protected methodClearChanged
Clear change flags in the datasource. Since the EIIDataSource does not support saving of data, this method contains no implementation
Public methodClose
Close the EII datasource.
Public methodCompact
Public methodCopyTo
Public methodCreate
Create the EII datasource.
Public methodDirectory
Public methodDispose
Releases all resources used by the cEIIXMLDataSource
Public methodEndTransaction
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExtension
Public methodFileName
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodImportTimeSeries
Import a complete cTimeSeriesImport instance into the datasource.
Public methodIsEcopathModified
States if the datasource has unsaved changes for Ecopath.
Public methodIsEcosimModified
States if the datasource has unsaved changes for Ecosim.
Public methodIsEcospaceModified
Public methodIsModified
States whether the datasource has unsaved changes that do not relate to any of the supported sub-models.
Public methodIsOpen
States whether a datasource is already open.
Public methodIsOSSupported
Public methodIsReadOnly
Protected methodLoadEcosimScenario
Loads an ecosim scenario from the DB.
Public methodLoadEcospaceScenario
Public methodLoadModel
Initiates a full load of an ecopath model.
Public methodLoadTimeSeriesDataset
Load all time series for a given dataset.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveEcospaceDriverLayer
Public methodMoveEcospaceHabitat
Public methodMoveFleet
Move an Ecopath fleet to a different position in the fleet sequence.
Public methodMoveGroup
Move an Ecopath group to a different position in the group sequence.
Public methodMoveMPA
Public methodMovePedigreeLevel
Public methodOpen
Open an existing data source connection
Public methodReadSafe
Helper method, reads data from a column that may not exist. In that case, an optional default value is returned
Protected methodRemoveEcosimScenario
Removes an ecosim scenario from the EII.
Public methodRemoveEcospaceDriverLayer
Public methodRemoveEcospaceHabitat
Public methodRemoveEcospaceImportanceLayer
Public methodRemoveEcospaceMPA
Public methodRemoveEcospaceScenario
Public methodRemoveFleet
Removes a fleet from the datasource.
Public methodRemoveGroup
Remove a group from the datasource.
Public methodRemovePedigreeLevel
Public methodRemoveShape
Deletes a forcing shape from the EII.
Public methodRemoveStanza
Removes a stanza group from the EII.
Public methodRemoveStanzaLifestage
Removes a life stage from an existing stanza configuration.
Public methodRemoveTaxon
Protected methodRemoveTimeSeries
Removes a time series from the datasource.
Public methodRemoveTimeSeriesDataset
Removes all time series belonging to a specific dataset from the datasource.
Public methodResizeEcospaceBasemap
Protected methodSaveEcosimScenario
Updates an ecosim scenario in the EII.
Public methodSaveEcosimScenarioAs
Public methodSaveEcospaceScenario
Public methodSaveEcospaceScenarioAs
Public methodSaveFromDB
Save an Ecopath database to a file
Public methodSaveModel
Initiates a save of an EwE model
Protected methodSetChanged
Flag a core object as changed in the datasource. Since the EIIDataSource does not support saving of data, this method contains no implementation
Public methodToString
Get the name of the EII file that this datasource operates on.
(Overrides ObjectToString.)
Public methodVersion
Top
Extension Methods
  NameDescription
Public Extension MethodValue
Extension method; extract a value from an object by property name.
(Defined by Extensions.)
Top
See Also