C# Class FdoToolbox.Base.Services.CoordSysCatalog

A simple data access object to the Coordinate System Catalog which resides in a SQLite database.
Inheritance: ICoordinateSystemCatalog
Afficher le fichier Open project: jumpinjackie/fdotoolbox Class Usage Examples

Méthodes publiques

Méthode Description
AddProjection ( CoordinateSystemDefinition cs ) : void

Adds a new coordinate system to the database

CoordSysCatalog ( ) : System

Initializes a new instance of the CoordSysCatalog class.

DeleteProjection ( CoordinateSystemDefinition cs ) : bool

Deletes a coordinate system from the database

GetAllProjections ( ) : BindingList

Gets all the coordinate systems in the database

InitializeService ( ) : void

Initializes the service.

Load ( ) : void

Loads any persisted objects from the session directory

ProjectionExists ( string name ) : bool

Checks if a coordinate system exists

Save ( ) : void

Persists any managed objects to the session directory

UnloadService ( ) : void

Unloads the service.

UpdateProjection ( CoordinateSystemDefinition cs, string oldName ) : bool

Updates an existing coordinate system in the database

Private Methods

Méthode Description
CreateSqliteConnection ( ) : IConnection

Method Details

AddProjection() public méthode

Adds a new coordinate system to the database
public AddProjection ( CoordinateSystemDefinition cs ) : void
cs FdoToolbox.Core.CoordinateSystems.CoordinateSystemDefinition
Résultat void

CoordSysCatalog() public méthode

Initializes a new instance of the CoordSysCatalog class.
public CoordSysCatalog ( ) : System
Résultat System

DeleteProjection() public méthode

Deletes a coordinate system from the database
public DeleteProjection ( CoordinateSystemDefinition cs ) : bool
cs FdoToolbox.Core.CoordinateSystems.CoordinateSystemDefinition
Résultat bool

GetAllProjections() public méthode

Gets all the coordinate systems in the database
public GetAllProjections ( ) : BindingList
Résultat BindingList

InitializeService() public méthode

Initializes the service.
public InitializeService ( ) : void
Résultat void

Load() public méthode

Loads any persisted objects from the session directory
public Load ( ) : void
Résultat void

ProjectionExists() public méthode

Checks if a coordinate system exists
public ProjectionExists ( string name ) : bool
name string
Résultat bool

Save() public méthode

Persists any managed objects to the session directory
public Save ( ) : void
Résultat void

UnloadService() public méthode

Unloads the service.
public UnloadService ( ) : void
Résultat void

UpdateProjection() public méthode

Updates an existing coordinate system in the database
public UpdateProjection ( CoordinateSystemDefinition cs, string oldName ) : bool
cs FdoToolbox.Core.CoordinateSystems.CoordinateSystemDefinition
oldName string
Résultat bool