I've got a general paging issue, which is that it doesn't seem to work. I'm using SQL Server, and have no other problems so far. There are two issues I'm experiencing, which may be related. The first occurs with the following code:
MetadataSourceCollection Items = new MetadataSourceCollection();
Items.GetMulti(this.Filter, 0, null, null, this.CurrentPage, this.PerPage);
The problem is that this doesn't restrict the number of items displayed at all. It still displays everything it can find. It also doesn't do anything when I change the current page. Filter is just a null filter, or a like filter on a text field.
The second is when I change the code to this:
MetadataSourceCollection Items = new MetadataSourceCollection();
Items.GetMulti(this.Filter, this.PerPage, null, null, this.CurrentPage, this.PerPage);
This restricts the number of items shown, but still doesn't change pages when the "CurrentPage" changes.
Is there something missing, what am I doing wrong?