{"id":15003142,"url":"https://github.com/haritha99ch/genericrepositorypattern-example","last_synced_at":"2025-12-25T11:53:25.884Z","repository":{"id":201005608,"uuid":"700797072","full_name":"haritha99ch/GenericRepositoryPattern-Example","owner":"haritha99ch","description":"Example of implementing an Advance Generic-Typed Repositor in .NET. This contains implementation of Specification pattern and Selector pattern.","archived":false,"fork":false,"pushed_at":"2023-10-19T09:33:06.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T13:57:33.144Z","etag":null,"topics":["dotnet","dotnet8","entity-framework","entity-framework-core","generic-repository","microsoft-sql-server","repository","repository-pattern","selector-pattern","specification-pattern","sql"],"latest_commit_sha":null,"homepage":"https://gist.github.com/haritha99ch/f7f3e90562395c5f95f3898e0570f041","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/haritha99ch.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-05T10:07:50.000Z","updated_at":"2023-10-18T13:19:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"0f094177-3e7e-4c3c-a2f1-2c35c5b0ec1f","html_url":"https://github.com/haritha99ch/GenericRepositoryPattern-Example","commit_stats":null,"previous_names":["haritha99ch/genericrepositorypattern-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haritha99ch%2FGenericRepositoryPattern-Example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haritha99ch%2FGenericRepositoryPattern-Example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haritha99ch%2FGenericRepositoryPattern-Example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haritha99ch%2FGenericRepositoryPattern-Example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haritha99ch","download_url":"https://codeload.github.com/haritha99ch/GenericRepositoryPattern-Example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243153828,"owners_count":20244829,"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":["dotnet","dotnet8","entity-framework","entity-framework-core","generic-repository","microsoft-sql-server","repository","repository-pattern","selector-pattern","specification-pattern","sql"],"created_at":"2024-09-24T18:56:18.830Z","updated_at":"2025-12-25T11:53:25.840Z","avatar_url":"https://github.com/haritha99ch.png","language":"C#","readme":"# Entity Framework: Advance Generic Repository Pattern .NET (Specification, Selector)\n\n## Introduction\n\nThis is an example of implementing an Enhanced Generic Repository pattern in .NET. The project includes implementation of Entity Framework with generic repository including specification pattern an selector pattern.\n\n## Selector pattern\n\nSelector pattern is a novel approach for Type-Safe Data Selection in generic repository. [Read more](https://gist.github.com/haritha99ch/f7f3e90562395c5f95f3898e0570f041)\n\n## Setup\n\n### Prerequisite\n\n1. .NET 8 installed on your computer. You can download .NET 8 from the official website (\u003chttps://dotnet.microsoft.com/download/dotnet/8.0\u003e).\n2. An integrated development environment (IDE) to write your code\n3. Git installed on your computer.\n\n### Initial setup\n\n1. Clone the project.\n\n   ```shell\n   git clone https://github.com/haritha99ch/GenericRepositoryPattern-Example.git\n   ```\n\n2. [Set Environment variables](./src/Example.AppSettings/README.md#setting-environment-variables).\n\n3. Install all the dependencies.\n\n   ```shell\n   dotnet restore\n   ```\n\n4. Build the project.\n\n   ```shell\n   dotnet build\n   ```\n\n5. Run the project.\n\n   ```shell\n   dotnet run --project ./src/Example.Presentation/\n   ```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharitha99ch%2Fgenericrepositorypattern-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharitha99ch%2Fgenericrepositorypattern-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharitha99ch%2Fgenericrepositorypattern-example/lists"}