Method GetAll
GetAll(string, object?[]?)
Executes a read-only query and returns all rows.
Task<QueryResult> GetAll(string sql, object?[]? parameters = null)
Parameters
Returns
GetAll<T>(string, object?[]?, SqlMapper<T>)
Executes a read-only query and returns all rows, mapped using mapper.
Task<List<T>> GetAll<T>(string sql, object?[]? parameters, SqlMapper<T> mapper)
Parameters
Returns
Type Parameters
T
GetAll<T>(string, object?[]?)
Executes a read-only query and returns all rows, mapped using T.FromRow.
Task<List<T>> GetAll<T>(string sql, object?[]? parameters = null) where T : IFromRow<T>
Parameters
Returns
Type Parameters
T