{"id":24167484,"url":"https://github.com/i-rzr-i/pagedlistresult","last_synced_at":"2026-02-27T11:38:54.771Z","repository":{"id":209034245,"uuid":"708943624","full_name":"I-RzR-I/PagedListResult","owner":"I-RzR-I","description":"`PagedListResult` is a library designed to offer possibilities to get/return data from a dataset in small parts with multiple filter possibilities.","archived":false,"fork":false,"pushed_at":"2025-01-10T17:03:51.000Z","size":102,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-10T17:54:10.171Z","etag":null,"topics":["database","db","entity","enumerable","filter","list","model","order","page","pagination","result","search"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/I-RzR-I.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-23T17:40:16.000Z","updated_at":"2025-01-10T17:03:34.000Z","dependencies_parsed_at":"2023-11-24T17:24:18.993Z","dependency_job_id":"b42db184-90f0-4cbc-a33c-81d99a723ccc","html_url":"https://github.com/I-RzR-I/PagedListResult","commit_stats":null,"previous_names":["i-rzr-i/pagedlistresult"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/I-RzR-I%2FPagedListResult","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/I-RzR-I%2FPagedListResult/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/I-RzR-I%2FPagedListResult/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/I-RzR-I%2FPagedListResult/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/I-RzR-I","download_url":"https://codeload.github.com/I-RzR-I/PagedListResult/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233660092,"owners_count":18710026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","db","entity","enumerable","filter","list","model","order","page","pagination","result","search"],"created_at":"2025-01-12T21:13:54.185Z","updated_at":"2026-02-27T11:38:54.763Z","avatar_url":"https://github.com/I-RzR-I.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e **Note** This repository is developed for .netstandard2.0 with support .net5, net6, .net7, .net8 and .net9.\n\n| Name     | Details |\n|----------|----------|\n| PagedListResult.DataModels | [![NuGet Version](https://img.shields.io/nuget/v/PagedListResult.DataModels.svg?style=flat\u0026logo=nuget)](https://www.nuget.org/packages/PagedListResult.DataModels/) [![Nuget Downloads](https://img.shields.io/nuget/dt/PagedListResult.DataModels.svg?style=flat\u0026logo=nuget)](https://www.nuget.org/packages/PagedListResult.DataModels)|\n| PagedListResult.Common | [![NuGet Version](https://img.shields.io/nuget/v/PagedListResult.Common.svg?style=flat\u0026logo=nuget)](https://www.nuget.org/packages/PagedListResult.Common/) [![Nuget Downloads](https://img.shields.io/nuget/dt/PagedListResult.Common.svg?style=flat\u0026logo=nuget)](https://www.nuget.org/packages/PagedListResult.Common)|\n| PagedListResult | [![NuGet Version](https://img.shields.io/nuget/v/PagedListResult.svg?style=flat\u0026logo=nuget)](https://www.nuget.org/packages/PagedListResult/) [![Nuget Downloads](https://img.shields.io/nuget/dt/PagedListResult.svg?style=flat\u0026logo=nuget)](https://www.nuget.org/packages/PagedListResult) |\n\n\nThis repository results from the necessity to implement pagination for grids/tables, a server-side pagination. The current solution is based on 3 projects, the first(`PagedListResult.DataModels`) represent the base data models, the second(`PagedListResult.Common`) represents the expressions builder for filters, search, and validation; the third(`PagedListResult`) uses extension methods to create the pagination requests and pagination results.\n\nThe `PagedListResult.DataModels` is written using the framework `.netstandard2.0` and contains the base required models, with the possibility of creating a new implementation based on them.\n\nThe `PagedListResult.Common` is written using framework `.netstandard2.0`, and based on `System.Linq.Expressions`. And the base available functionalities are:\nsearch in fields, order records, filter be specific conditions, set on top some records, etc.\n\nThe `PagedListResult` have the extension methods to make pagination request and result more easily to integrate. It depends by `PagedListResult.Common` and the almost implementation are based on `Microsoft.EntityFrameworkCore`.\n\nThe `request` contains:\n```json\n{\n  \"page\": 1,\n  \"pageSize\": 10,\n  \"search\": {\n    \"search\": \"string\",\n    \"searchInAllTextFields\": true,\n    \"searchInAllFields\": false,\n    \"customSearchTextProperties\": [\n      \"string\"\n    ]\n  },\n  \"order\": {\n    \"orderByProperty\": \"string\",\n    \"orderDirection\": 0,\n    \"orderByDefaultProperty\": false\n  },\n  \"fields\": [\n    \"string\"\n  ],\n  \"predefinedRecord\": {\n    \"predefinedFieldName\": \"string\",\n    \"predefinedRecords\": [\n        \"string\"\n    ]\n  },\n  \"filters\": [\n    {\n      \"filterValue\": {\n        \"condition\": 0,\n        \"propertyName\": \"string\",\n        \"values\": [\n          \"string\"\n        ],\n        \"compareValue\": \"string\"\n      },\n      \"filterApplyOrder\": 0,\n      \"dependencies\": [\n        {\n          \"parentFilterLinkType\": 0,\n          \"filterValue\": {\n            \"condition\": 0,\n            \"propertyName\": \"string\",\n            \"values\": [\n              \"string\"\n            ],\n            \"compareValue\": \"string\"\n          }\n        }\n      ]\n    }\n  ]\n}\n```\n\n\nThe `result` contains:\n```json\n{\n  \"currentPage\": 1,\n  \"pageCount\": 0,\n  \"pageSize\": 10,\n  \"rowCount\": 0,\n  \"executionDetails\": {\n    \"executionTimeMs\": 0,\n    \"executionDate\": \"yyyy-MM-ddTHH:mm:ss.fff\"\n  },\n  \"response\": [],\n  \"isSuccess\": true,\n  \"messages\": []\n}\n```\n\n\n\n**In case you wish to use it in your project, u can install the package from \u003ca href=\"https://www.nuget.org/packages/PagedListResult\" target=\"_blank\"\u003enuget.org\u003c/a\u003e** or specify what version you want:\n\n\n\u003e `Install-Package PagedListResult -Version x.x.x.x`\n\n## Content\n1. [USING](docs/usage.md)\n1. [CHANGELOG](docs/CHANGELOG.md)\n1. [BRANCH-GUIDE](docs/branch-guide.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi-rzr-i%2Fpagedlistresult","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fi-rzr-i%2Fpagedlistresult","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi-rzr-i%2Fpagedlistresult/lists"}