Returns a collection of instances of the derived class.
Namespace: Nemiro.Data.SqlAssembly: Nemiro.Data (in Nemiro.Data.dll) Version: 2.11.4.126 (2.11.4.126)
Syntax
Parameters
- T
- Type: System Type
The entity type.
- recordsPerPage (Optional)
- Type: System Int32
Number of records per page. Zero - all records.
- page (Optional)
- Type: System Int32
Page (from 1).
- includeFields (Optional)
- Type: System String
List of fields you want to include in a query result. By default, all fields.
- sort (Optional)
- Type: System Object
The sort order of the records.
- filter (Optional)
- Type: System String
Filter. When specifying a filter is added to the query design WHERE indicating the contents filter as is.
Return Value
Type: DataObjectCollection BaseObjectReturns a collection of instances of the derived class.
Exceptions
Exception | Condition |
---|---|
SqlException | The exception that is thrown when SQL Server returns a warning or error. |
See Also