sapiens / SqlFu

Fast and versatile .net core data mapper/micro-orm
Other
229 stars 50 forks source link

With sqlite provider paging does not work. #32

Closed vlko closed 10 years ago

vlko commented 10 years ago

sqlite provider returns count as long and then no results are returned as conditions fills page items only if count was returned as int.

vlko commented 10 years ago

Anyway I think that LongCount should be set always, even if count is integer value. If count is long value then Count should be set to -1 to prevent any problems.

sapiens commented 10 years ago

The LongCount issue was already fixed in Devel branch for some time, I should have released a new version with the fix