BaseObject GetList Method Nemiro.Data.dll
Returns a collection of instances of the derived class.

Namespace: Nemiro.Data.Sql
Assembly: Nemiro.Data (in Nemiro.Data.dll) Version: (

public static DataObjectCollection<BaseObject> GetList(
	Type T,
	int recordsPerPage = 0,
	int page = 1,
	string[] includeFields = null,
	Object sort = null,
	string filter = null


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 BaseObject 
Returns a collection of instances of the derived class.

SqlExceptionThe exception that is thrown when SQL Server returns a warning or error.
See Also