C# Class FdoToolbox.Core.ETL.Overrides.MySqlCopySpatialContextOverride

Copy spatial context override for MySQL target. MySQL requires that if an existing spatial context already exists (by name) that it be destroyed, as ICreateSpatialContext::updateExisting does not work Also, an existing spatial context cannot be destroyed if there are Geometric Properties using that spatial context. In this case, we don't copy that context across
Inheritance: CopySpatialContext
Afficher le fichier Open project: jumpinjackie/fdotoolbox

Méthodes publiques

Méthode Description
Execute ( FdoConnection source, FdoConnection target, bool overwrite, string spatialContextNames ) : void

Copies the spatial contexts given in the list

Execute ( ICollection spatialContexts, FdoConnection target, bool overwrite ) : void

Copies all spatial contexts

Method Details

Execute() public méthode

Copies the spatial contexts given in the list
public Execute ( FdoConnection source, FdoConnection target, bool overwrite, string spatialContextNames ) : void
source FdoToolbox.Core.Feature.FdoConnection The source connection
target FdoToolbox.Core.Feature.FdoConnection The target connection
overwrite bool If true will overwrite any existing spatial contexts
spatialContextNames string The list of spatial contexts to copy
Résultat void

Execute() public méthode

Copies all spatial contexts
public Execute ( ICollection spatialContexts, FdoConnection target, bool overwrite ) : void
spatialContexts ICollection The spatial contexts.
target FdoToolbox.Core.Feature.FdoConnection The target.
overwrite bool if set to true [overwrite].
Résultat void