Dataset.Open

Open(string, FileDriver)

Opens the dataset.

public static Dataset Open(string path, FileDriver driver)
ParameterTypeDescription
pathStringPath to the dataset.
driverFileDriverDriver to use.

Return Value

An instance of Dataset.

Exceptions

exceptioncondition
ArgumentNullExceptionThe path is null.
GisExceptionError reading the dataset.
IOExceptionAn I/O error occurred.

See Also


Open(AbstractPath, FileDriver)

Opens the dataset.

public static Dataset Open(AbstractPath path, FileDriver driver)
ParameterTypeDescription
pathAbstractPathPath to the dataset.
driverFileDriverDriver to use.

Return Value

An instance of Dataset.

Exceptions

exceptioncondition
ArgumentNullExceptionThe path is null.
GisExceptionError reading the dataset.
IOExceptionAn I/O error occurred.

See Also


Open(string, FileDriver, DriverOptions)

Opens the dataset.

public static Dataset Open(string path, FileDriver driver, DriverOptions options)
ParameterTypeDescription
pathStringPath to the dataset.
driverFileDriverDriver to use.
optionsDriverOptionsDriver-specific options.

Return Value

An instance of Dataset.

Exceptions

exceptioncondition
ArgumentExceptionOptions object has an incorrect type for this driver.
ArgumentNullExceptionThe path is null.
GisExceptionError reading the dataset.
IOExceptionAn I/O error occurred.

See Also


Open(AbstractPath, FileDriver, DriverOptions)

Opens the dataset.

public static Dataset Open(AbstractPath path, FileDriver driver, DriverOptions options)
ParameterTypeDescription
pathAbstractPathPath to the dataset.
driverFileDriverDriver to use.
optionsDriverOptionsDriver-specific options.

Return Value

An instance of Dataset.

Exceptions

exceptioncondition
ArgumentExceptionOptions object has an incorrect type for this driver.
ArgumentNullExceptionThe path is null.
GisExceptionError reading the dataset.
IOExceptionAn I/O error occurred.

See Also


Open(IDbConnection, DatabaseDriver)

Opens the dataset.

public static Dataset Open(IDbConnection connection, DatabaseDriver driver)
ParameterTypeDescription
connectionIDbConnectionOpened connection to the database.
driverDatabaseDriverDriver to use.

Return Value

An instance of Dataset.

Exceptions

exceptioncondition
ArgumentExceptionOptions object has an incorrect type for this driver.
ArgumentNullExceptionThe path is null.
GisExceptionError reading the dataset.
IOExceptionAn I/O error occurred.

See Also