IDatabaseDataSource.ReadAsync
Contents
[
Hide
]ReadAsync(DbConnection, IDictionary<string, object>)
Method for reading geospatial data.
public Task<VectorLayer> ReadAsync(DbConnection connection,
IDictionary<string, object> sqlParametrs = null)
Parameter | Type | Description |
---|---|---|
connection | DbConnection | Connection object. |
sqlParametrs | IDictionary`2 | Set of SQL parameters |
Return Value
Returns a single instance of InMemoryLayer wrapped in ReadVectorWrapper to perform additional geometry transformations on demand.
Remarks
The connection must be configured and in open status.
See Also
- class VectorLayer
- interface IDatabaseDataSource
- namespace Aspose.Gis.Formats.Database
- assembly Aspose.GIS
ReadAsync(DbConnection, DbTransaction, IDictionary<string, object>)
Method for reading geospatial data within a transaction..
public Task<VectorLayer> ReadAsync(DbConnection connection, DbTransaction transaction,
IDictionary<string, object> sqlParametrs = null)
Parameter | Type | Description |
---|---|---|
connection | DbConnection | Connection object. |
transaction | DbTransaction | Current transaction. |
sqlParametrs | IDictionary`2 | Set of SQL parameters |
Return Value
Returns a single instance of InMemoryLayer wrapped in ReadVectorWrapper to perform additional geometry transformations on demand.
Remarks
The connection must be configured and in open status.
See Also
- class VectorLayer
- interface IDatabaseDataSource
- namespace Aspose.Gis.Formats.Database
- assembly Aspose.GIS