EzOdata.SimpleCrud
2.0.1
dotnet add package EzOdata.SimpleCrud --version 2.0.1
NuGet\Install-Package EzOdata.SimpleCrud -Version 2.0.1
<PackageReference Include="EzOdata.SimpleCrud" Version="2.0.1" />
<PackageVersion Include="EzOdata.SimpleCrud" Version="2.0.1" />
<PackageReference Include="EzOdata.SimpleCrud" />
paket add EzOdata.SimpleCrud --version 2.0.1
#r "nuget: EzOdata.SimpleCrud, 2.0.1"
#:package EzOdata.SimpleCrud@2.0.1
#addin nuget:?package=EzOdata.SimpleCrud&version=2.0.1
#tool nuget:?package=EzOdata.SimpleCrud&version=2.0.1
EzOdata + SimpleCRUD / EF Core
Packages that take over ez-odata-api tables with Dapper.SimpleCRUD or EF Core, both used unmodified.
EzOdata.SimpleCrud: several SimpleCRUD dialects in one process
SimpleCRUD keeps its dialect in static state, so one process normally speaks one dialect. This package gives each dialect its own isolated SimpleCRUD engine, created on first use. SQL Server, PostgreSQL, MySQL and SQLite can then run side by side, next to your existing SimpleCRUD code, which it never touches.
var pg = SimpleCrud.For(SimpleCRUD.Dialect.PostgreSQL).WithConnection(() => new NpgsqlConnection(pgCs)).Build();
var sql = SimpleCrud.For(SimpleCRUD.Dialect.SQLServer).WithConnection(() => new SqlConnection(sqlCs)).Build();
await pg.InsertAsync(customer);
var order = await sql.GetAsync<Order>(42);
// or with keyed DI
services.AddSimpleCrud("warehouse", SimpleCRUD.Dialect.SQLServer, _ => new SqlConnection(sqlCs));
Your existing SimpleCRUD POCOs and attributes work unchanged. The overhead is about 1.06× a direct SimpleCRUD call. Supports SimpleCRUD 2.3.x and 2.4.x on .NET 8+; on netstandard2.0 it falls back to one dialect per process.
Instant OData/REST API with a SimpleCRUD or EF Core write engine
ez-odata-api serves every table of a database as a
governed OData v4 / REST API. EzOdata.Entities.AspNetCore lets you take over any table with an
entity and typed hooks. Pick the write engine per service:
builder.Services.AddEzOData(ez => ez.AddService("crm", s => s.UsePostgreSql(connection)));
builder.Services.ExtendEzOData(x => x.Service("crm", crm => crm
.UseSimpleCrud() // or .UseEfCore<CrmDbContext>()
.Table<Customer, CustomerHandler>()
.Table<Order>(t => t.BeforeInsert((o, ctx) => { if (o.Total <= 0) ctx.Reject("Total must be positive."); }))));
app.MapEzOData("/api/odata");
- Writes go through the chosen engine in one transaction; hooks share it via
ctx.Data. - ez-odata's role rules and row filters still apply, and hooks can't widen them.
- Composite keys are supported, and
UsePropertyNames()exposes C# property names in the API. ctx.OnCommitted(...)runs side effects only after a successful commit.
Docs, tests and samples: https://github.com/YOLOVibeCode/ez-odata-api.Dapper.SimpleCRUD · Apache-2.0
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Dapper.SimpleCRUD (>= 2.3.0)
-
net8.0
- Dapper.SimpleCRUD (>= 2.3.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on EzOdata.SimpleCrud:
| Package | Downloads |
|---|---|
|
EzOdata.SimpleCrud.AspNetCore
SimpleCRUD write engine for EzOdata.Entities.AspNetCore — take over ez-odata-api tables with Dapper.SimpleCRUD entities and typed hooks. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.1 | 47 | 9/30/2026 |
| 2.0.0 | 49 | 9/30/2026 |
| 1.0.0 | 44 | 9/30/2026 |
| 1.0.0-rc.1 | 41 | 9/30/2026 |