Method | Description | |
---|---|---|
ConvertFromNameValueCollection ( |
Converts a NameValueCollection to a connection string style string
|
|
ConvertFromString ( string str ) : |
Converts a specially formatted string to a NameValueCollection
|
|
CopyAllSpatialContexts ( |
Copies all spatial contexts from one connection to another. If the target connection only supports one spatial context, then the active spatial context is copied across.
|
|
CopyAllSpatialContexts ( ICollection |
Copies all spatial contexts from one connection to another. If the target connection only supports one spatial context, then the active spatial context is copied across.
|
|
CreateBulkCopy ( |
Utility method to create a bulk copy operation from one class to another
|
|
CreateBulkCopy ( |
Utility method to create a feature class dump bulk copy
|
|
CreateBulkCopy ( string sourceFile, string targetPath, bool copySpatialContexts, bool fixIncompatibleSchema, bool flattenGeometries ) : |
Creates a FDO bulk copy task. The target file will be created as part of this method call. If the target path is a directory, it is assumed that SHP files are to be created and copied to.
|
|
CreateFlatFileConnection ( string sourceFile ) : |
Creates a connection to a FDO provider. The FDO provider must be a flat-file provider.
|
|
CreateFlatFileConnection ( string provider, string file ) : |
Creates a connection to a FDO provider. The FDO provider must be a flat-file provider.
|
|
CreateFlatFileDataSource ( string file ) : bool |
Creates a FDO data source. The provider must be a flat-file provider
|
|
CreateFlatFileDataSource ( string file, bool deleteIfExists ) : bool |
Creates a FDO data source. The provider must be a flat-file provider
|
|
CreateFlatFileDataSource ( string provider, string path ) : bool |
Creates a FDO data source. The provider must be a flat-file provider
|
|
CreateFlatFileDataSource ( string provider, string path, bool deleteIfExists ) : bool |
Creates a FDO data source. The provider must be a flat-file provider
|
|
GetClassNames ( string sourceFile ) : string[] |
Gets all class names from the specified flat-file data source
|
|
GetClrTypeFromFdoDataType ( DataType dt ) : |
Gets the CLR type from a FDO data type
|
|
GetDataColumnForProperty ( DataPropertyDefinition dp ) : |
Converts a DataPropertyDefinition into a DataColumn
|
|
GetDataPropertyForColumn ( |
Converts a DataColumn object into a DataPropertyDefinition
|
|
GetFdoDataTypeFromClrType ( |
Gets the FDO data type for a CLR type
|
|
GetRelatedFiles ( string shapeFile ) : string[] |
Gets the related files of a Shape File
|
|
HasRaster ( ClassDefinition cls ) : bool |
Determines whether the specified class has a raster property.
|
|
IsShp ( string targetPath ) : bool |
Determines whether the specified target path is a valid SHP provider file path
|
Method | Description | |
---|---|---|
GetFileParameter ( string provider ) : string | ||
GetProviderFromFileExtension ( string path ) : string |
Infers the FDO provider name from the file's extension
|
public static ConvertFromNameValueCollection ( |
||
nameValueCollection | ||
return | string |
public static ConvertFromString ( string str ) : |
||
str | string | |
return |
public static CopyAllSpatialContexts ( |
||
source | The source connection | |
target | The target connection | |
overwrite | bool | If true will overwrite any existing spatial contexts, otherwise it will add them. This value is ignored if the target connection does not support multiple spatial contexts |
return | void |
public static CopyAllSpatialContexts ( ICollection |
||
spatialContexts | ICollection |
The spatial contexts. |
target | The target. | |
overwrite | bool | if set to |
return | void |
public static CreateBulkCopy ( |
||
sourceConn | ||
targetConn | ||
srcSchemaName | string | |
srcQuery | ||
targetSchemaName | string | |
targetClassName | string | |
propertyMapping | ||
return |
public static CreateBulkCopy ( |
||
source | ||
schemaName | string | |
className | string | |
provider | string | |
savePath | string | |
return |
public static CreateBulkCopy ( string sourceFile, string targetPath, bool copySpatialContexts, bool fixIncompatibleSchema, bool flattenGeometries ) : |
||
sourceFile | string | The path to the source file. |
targetPath | string | /// The path to the target file/directory. If it is a directory, it is assumed /// that SHP files are to be created and copied to. /// |
copySpatialContexts | bool | If true, will also copy spatial contexts |
fixIncompatibleSchema | bool | If true, will try to fix the source schema to make it compatible with the target connection. If false, an exception will be thrown |
flattenGeometries | bool | If true, will strip all Z and M coordinates from all geometries that are copied |
return |
public static CreateFlatFileConnection ( string sourceFile ) : |
||
sourceFile | string | |
return |
public static CreateFlatFileConnection ( string provider, string file ) : |
||
provider | string | |
file | string | |
return |
public static CreateFlatFileDataSource ( string file ) : bool | ||
file | string | The file. |
return | bool |
public static CreateFlatFileDataSource ( string file, bool deleteIfExists ) : bool | ||
file | string | The file |
deleteIfExists | bool | if set to |
return | bool |
public static CreateFlatFileDataSource ( string provider, string path ) : bool | ||
provider | string | The provider. |
path | string | The path. |
return | bool |
public static CreateFlatFileDataSource ( string provider, string path, bool deleteIfExists ) : bool | ||
provider | string | The provider. |
path | string | The path. |
deleteIfExists | bool | if set to |
return | bool |
public static GetClassNames ( string sourceFile ) : string[] | ||
sourceFile | string | |
return | string[] |
public static GetClrTypeFromFdoDataType ( DataType dt ) : |
||
dt | DataType | |
return |
public static GetDataColumnForProperty ( DataPropertyDefinition dp ) : |
||
dp | DataPropertyDefinition | The data property definition |
return |
public static GetDataPropertyForColumn ( |
||
col | The data column | |
return | DataPropertyDefinition |
public static GetFdoDataTypeFromClrType ( |
||
t | ||
return | DataType |
public static GetRelatedFiles ( string shapeFile ) : string[] | ||
shapeFile | string | The shape file. |
return | string[] |
public static HasRaster ( ClassDefinition cls ) : bool | ||
cls | ClassDefinition | The class |
return | bool |
public static IsShp ( string targetPath ) : bool | ||
targetPath | string | The target path. |
return | bool |