C# Класс FdoToolbox.Base.Services.CoordSysCatalog

A simple data access object to the Coordinate System Catalog which resides in a SQLite database.
Наследование: ICoordinateSystemCatalog
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
CreateSqliteConnection ( ) : IConnection

Описание методов

AddProjection() публичный Метод

Adds a new coordinate system to the database
public AddProjection ( CoordinateSystemDefinition cs ) : void
cs FdoToolbox.Core.CoordinateSystems.CoordinateSystemDefinition
Результат void

CoordSysCatalog() публичный Метод

Initializes a new instance of the CoordSysCatalog class.
public CoordSysCatalog ( ) : System
Результат System

DeleteProjection() публичный Метод

Deletes a coordinate system from the database
public DeleteProjection ( CoordinateSystemDefinition cs ) : bool
cs FdoToolbox.Core.CoordinateSystems.CoordinateSystemDefinition
Результат bool

GetAllProjections() публичный Метод

Gets all the coordinate systems in the database
public GetAllProjections ( ) : BindingList
Результат BindingList

InitializeService() публичный Метод

Initializes the service.
public InitializeService ( ) : void
Результат void

Load() публичный Метод

Loads any persisted objects from the session directory
public Load ( ) : void
Результат void

ProjectionExists() публичный Метод

Checks if a coordinate system exists
public ProjectionExists ( string name ) : bool
name string
Результат bool

Save() публичный Метод

Persists any managed objects to the session directory
public Save ( ) : void
Результат void

UnloadService() публичный Метод

Unloads the service.
public UnloadService ( ) : void
Результат void

UpdateProjection() публичный Метод

Updates an existing coordinate system in the database
public UpdateProjection ( CoordinateSystemDefinition cs, string oldName ) : bool
cs FdoToolbox.Core.CoordinateSystems.CoordinateSystemDefinition
oldName string
Результат bool