IBeam.Repositories.OrmLite
2.7.0
dotnet add package IBeam.Repositories.OrmLite --version 2.7.0
NuGet\Install-Package IBeam.Repositories.OrmLite -Version 2.7.0
<PackageReference Include="IBeam.Repositories.OrmLite" Version="2.7.0" />
<PackageVersion Include="IBeam.Repositories.OrmLite" Version="2.7.0" />
<PackageReference Include="IBeam.Repositories.OrmLite" />
paket add IBeam.Repositories.OrmLite --version 2.7.0
#r "nuget: IBeam.Repositories.OrmLite, 2.7.0"
#:package IBeam.Repositories.OrmLite@2.7.0
#addin nuget:?package=IBeam.Repositories.OrmLite&version=2.7.0
#tool nuget:?package=IBeam.Repositories.OrmLite&version=2.7.0
IBeam.Repositories.OrmLite
IBeam.Repositories.OrmLite provides a ServiceStack OrmLite repository provider for IBeam.Repositories.
dotnet add package IBeam.Repositories.OrmLite
When To Use This
- You want IBeam repository abstractions backed by a relational database.
- Your application already uses ServiceStack OrmLite.
- You want service code to stay database-provider-neutral.
- You need SQL-backed persistence but do not want to use a custom repository implementation.
What This Package Contains
| Area | Type(s) | Purpose |
|---|---|---|
| Repository | OrmLiteRepositoryAsync<T>, IOrmLiteRepositoryAsync<T> |
Implements IBeam repository abstractions over OrmLite. |
| Store | OrmLiteRepositoryStore<T> |
Performs relational persistence. |
| DI | AddIBeamOrmLiteRepositories() |
Registers OrmLite repository services. |
Architecture Fit
API <-- DTO/model object --> Service <-- Entity --> Repository
This package is a repository provider. It should not own service rules, permission checks, audit decisions, or DTO decoration.
Quick Start
using IBeam.Repositories.OrmLite;
builder.Services.AddIBeamOrmLiteRepositories();
The host application is responsible for registering the OrmLite connection factory and database provider configuration required by ServiceStack OrmLite.
Data Storage
This package persists relational rows through OrmLite. It does not create Azure Tables and does not own a built-in schema inventory because table shape follows the entity classes and host OrmLite configuration.
Document app-specific table names and columns in the consuming repository/project README when you introduce domain entities.
Service Operations, Auditing, And Permissions
Repository calls are not service-operation boundaries. Service-layer methods should be tagged with [IBeamOperation] and audited/authorized through IBeam service policies before they call repositories.
Extended Docs And Agent Guidance
- AI prompt:
.agent/prompt.md - Root implementation guide:
../.agent/implementation-guide.md - Service logging and audit:
../docs/service-logging-and-audit.md - Service operation permissions:
../docs/service-operation-permissions.md
Agents should keep OrmLite-specific setup in the repository provider or consuming app composition root, not in services.
Troubleshooting
| Problem | Likely Cause | Fix |
|---|---|---|
| Repository cannot resolve a database connection | OrmLite connection factory missing | Register the OrmLite provider in the host app. |
| SQL table shape does not match entity | OrmLite mapping/schema mismatch | Align entity attributes and migrations/schema scripts. |
| Business rule leaked into repository | Service boundary was bypassed | Move rule/audit/permission behavior back to the service layer. |
Version Notes
- Targets
net10.0. - Uses ServiceStack OrmLite packages.
- Package version is assigned by the repository release workflow.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- IBeam.Repositories (>= 2.7.0)
- IBeam.Utilities (>= 2.7.0)
- Microsoft.Extensions.Options (>= 10.0.3)
- ServiceStack.OrmLite (>= 8.8.0)
- ServiceStack.OrmLite.PostgreSQL.Core (>= 8.8.0)
- ServiceStack.OrmLite.Sqlite (>= 8.8.0)
- ServiceStack.OrmLite.SqlServer (>= 8.8.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.7.0 | 0 | 7/21/2026 |
| 2.6.0 | 28 | 7/20/2026 |
| 2.5.0 | 39 | 7/17/2026 |
| 2.4.2 | 40 | 7/16/2026 |
| 2.4.1 | 78 | 7/14/2026 |
| 2.4.0 | 109 | 6/24/2026 |
| 2.3.0 | 105 | 6/24/2026 |
| 2.2.0 | 110 | 6/23/2026 |
| 2.1.0 | 105 | 6/23/2026 |
| 2.0.68 | 104 | 6/23/2026 |
| 2.0.66 | 97 | 6/22/2026 |
| 2.0.65 | 107 | 6/22/2026 |
| 2.0.64 | 106 | 6/17/2026 |
| 2.0.63 | 107 | 6/16/2026 |
| 2.0.62 | 112 | 6/16/2026 |
| 2.0.57 | 105 | 6/8/2026 |
| 2.0.56 | 113 | 6/7/2026 |
| 2.0.54 | 227 | 5/27/2026 |
| 2.0.52 | 107 | 5/27/2026 |
| 2.0.35 | 107 | 5/15/2026 |