ISqlModelMapper.LoadAllByPageAsync Method
.NET Standard 2.x
Asynchronously retrieves data starting from a specified row according to the SQL query (without the Where clause) defined by the primary table in a TModel class.
Namespace: SnapObjects.Data
Assembly: SnapObjects.Data.dll
Overloads
| Method | Description |
|---|---|
| LoadAllByPageAsync<TModel>(int currentIndex, int pageSize) | Asynchronously retrieves data starting from a specified row according to the SQL query (without the Where clause) defined by the primary table in a TModel class. |
| LoadAllByPageAsync<TModel>(int currentIndex, int pageSize, CancellationToken cancellationToken) | Asynchronously retrieves data starting from a specified row according to the SQL query (without the Where clause) defined by the primary table in a TModel class. |