{"repo":"FoundatioFx/Foundatio.Repositories","free":true,"listed":false,"github":"https://github.com/FoundatioFx/Foundatio.Repositories","clone":"git clone https://github.com/FoundatioFx/Foundatio.Repositories.git","description":"Generic repositories","language":"C#","stars":82,"topics":["foundatio","repository","elasticsearch","genericrepository","indexing","snapshots"],"license":"Apache-2.0","category":"data-pipelines","readme_excerpt":"Foundatio.Repositories A production-grade repository pattern library for .NET with Elasticsearch implementation. Built on Foundatio building blocks, it provides a clean abstraction over data access with powerful features like caching, messaging, soft deletes, and versioning. 📖 Full Documentation Installation Quick Start 1. Define Your Entity 2. Create Index Configuration 3. Create Repository 4. Use the Repository Features Repository Pattern - IReadOnlyRepository - Read operations (Get, Find, Count, Exists) - IRepository - Write operations (Add, Save, Remove, Patch) - ISearchableRepository - Dynamic querying with filters, sorting, and aggregations Patch Operations - JSON Patch - RFC 6902 compliant patch operations - Partial Patch - Update specific fields without loading the full document - Script Patch - Elasticsearch Painless scripts for complex updates - Bulk Patching - Apply patches to multiple documents via query Caching - Built-in distributed caching with automatic invalidation - Real-time cache consistency via message bus - Configurable cache expiration and custom cache keys Message Bus - Entity change notifications ( EntityChanged messages) - Real-time updates for event-driven architectures - Soft delete transition detection ( ChangeType.Removed ) Soft Deletes - Automatic query filtering based on IsDeleted - Three query modes: ActiveOnly , DeletedOnly , All - Restore capability for soft-deleted documents Document Versioning - Optimistic concurrency control - Automatic ","default_branch":null,"files":null,"tree":[],"storefront":"/r/FoundatioFx","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/FoundatioFx/Foundatio.Repositories/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}