IDatabaseDataSource.ReadAsync

ReadAsync(DbConnection, IDictionary<string, object>)

Method for reading geospatial data.

public Task<VectorLayer> ReadAsync(DbConnection connection, 
    IDictionary<string, object> sqlParametrs = null)
ParameterTypeDescription
connectionDbConnectionConnection object.
sqlParametrsIDictionary`2Set 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


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)
ParameterTypeDescription
connectionDbConnectionConnection object.
transactionDbTransactionCurrent transaction.
sqlParametrsIDictionary`2Set 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