An open API service indexing awesome lists of open source software.

https://github.com/leonspors/porm

A performance-oriented, lightweight ORM for .NET that delivers fast and minimal data mapping, with built-in support for basic CRUD operations and LINQ-to-SQL translation.
https://github.com/leonspors/porm

dotnet dotnet-core lightweight orm orm-framework orm-library

Last synced: over 1 year ago
JSON representation

A performance-oriented, lightweight ORM for .NET that delivers fast and minimal data mapping, with built-in support for basic CRUD operations and LINQ-to-SQL translation.

Awesome Lists containing this project

README

          

# pORM
[![Stable Version](https://img.shields.io/badge/Stable-Disabled-lightgrey?style=flat-square)]()
[![Nightly Version](https://img.shields.io/badge/Nightly-GitHub%20Packages-blueviolet?style=flat-square)](https://github.com/LeonSpors/pORM/pkgs/nuget/pORM.Core)

[![Stable Workflow](https://github.com/LeonSpors/pORM/actions/workflows/nuget-stable.yml/badge.svg)](https://github.com/LeonSpors/pORM/actions/workflows/nuget-stable.yml)
[![Nightly Workflow](https://github.com/LeonSpors/pORM/actions/workflows/nuget-nightly.yml/badge.svg)](https://github.com/LeonSpors/pORM/actions/workflows/nuget-nightly.yml)

**pORM** is a performance-oriented, lightweight ORM mapper for .NET. It’s designed for developers who want a minimal and efficient way to map SQL query results to objects and perform CRUD operations without the overhead of a full-featured ORM.

## Features

- **Lightweight & Minimal:** Focused on performance and simplicity.
- **Easy Mapping:** Maps SQL query results to POCOs using reflection.
- **LINQ-to-SQL Translator:** Built-in expression translator for simple query expressions.
- **Asynchronous Support:** Async methods for executing SQL commands.
- **Extensible:** Designed to be extended and customized for your needs.

## Installation

You can install **pORM** via NuGet:

```powershell
Install-Package pORM
```

Or with the .NET CLI:

```bash
dotnet add package pORM
```

*Note: pORM is currently under heavy development, and breaking changes may be introduced in future releases.

## Usage

### Defining Your Entities

```csharp
# Coming soon
```

### Basic CRUD Operations

```csharp
# Coming soon
```

### Advanced Queries

pORM includes a built-in LINQ-to-SQL translator for simple expressions. For more advanced querying details, check the documentation in the [docs](docs/) folder.

## Support

If you enjoy using pORM and want to support its development, please consider buying me a coffee!

[![Buy Me A Coffee](https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20coffee&emoji=☕&slug=spors&button_colour=FFDD00&font_colour=000000&font_family=Poppins&outline_colour=000000&coffee_colour=ffffff)](https://www.buymeacoffee.com/spors)

## Contributing

Contributions are welcome! If you’d like to contribute, please:

1. Fork the repository.
2. Create a new branch for your feature or bug fix.
3. Submit a pull request describing your changes.

Please open an issue first to discuss any major changes.

## License

pORM is licensed under the Apache License, Version 2.0.
You may obtain a copy of the License in the [LICENSE](LICENSE) file.

© 2025 Leon Spors. All rights reserved.

## Contact

For questions or suggestions, please open an issue.