 | CDUImportAllADO Method |
Import an entire external database using ADO.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void ImportAllADO(
CDB db,
string connect,
int storage
)
public static void ImportAllADO(
CDB db,
string connect,
int storage
)
Public Shared Sub ImportAllADO (
db As CDB,
connect As String,
storage As Integer
)
Public Shared Sub ImportAllADO (
db As CDB,
connect As String,
storage As Integer
)
public:
static void ImportAllADO(
CDB^ db,
String^ connect,
int storage
)
public:
static void ImportAllADO(
CDB^ db,
String^ connect,
int storage
)
static member ImportAllADO :
db : CDB *
connect : string *
storage : int -> unit
static member ImportAllADO :
db : CDB *
connect : string *
storage : int -> unit
Parameters
- db
- Type: GeoEngine.Core.GXNetCDB
Database - connect
- Type: SystemString
Import database connection string - storage
- Type: SystemInt32
<define>DU_STORAGE</define>
Remarks
1. For group storage, the table names are imported "as is". For line storage,
if the table names are valid Geosoft line names, they are used as is.
Otherwise, line names will be created with type LINE_NORMAL, starting at
L0 and incrementing by 10 (L10, L20 etc.)
2. If the line exists, the data will overwrite the existing data.
3. All tables and fields will be imported.
4. If connection string is of type "FILENAME=..." the connection will attempt to resolve
it as a file database. (see also ODBCFileConnect_GUI)
See Also