C# 클래스 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
상속: CopySpatialContext
파일 보기 프로젝트 열기: jumpinjackie/fdotoolbox

공개 메소드들

메소드 설명
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

메소드 상세

Execute() 공개 메소드

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
리턴 void

Execute() 공개 메소드

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].
리턴 void