Bragi Docs Help

GetWarehouseData<T>

Given a schema and name e.g. dbo.myTable returns a list of value objects of the warehouse table or view.

Task<IEnumerable<T>> GetWarehouseData<T>(string schema, string name);

Type Parameter

  • T: The type to populate with the returned data.

Parameters

  • schema: Schema e.g. "dbo"

  • name: Table or view name e.g. "myTable"

Returns

A sequence of data of T; if a basic type (int, string, etc) is queried then the data from the first column is assumed, otherwise an instance is created per row, and a direct column-name member-name mapping is assumed (case-insensitive)

09 March 2026