While reading through some comments on a discussion forum, I noticed a discussion about EF Core. They were talking about a specific feature that was missing(can’t remember the feature).
My answer was to try NHibernate but I know that the learning curve is quite steep. Another person on the forum suggested XPO (eXpress Persistent Objects), a free(!) ORM from DevExpress.
From the site:
eXpress Persistent Objects (XPO) is an Object-Relational Mapping (ORM) tool that handles all aspects of database creation and object persistence, allowing you to concentrate on your application's business logic rather than database complexities. It offers Code First, Model First and Database First development workflows.
Getting started
- Install the DevExpress XPO nuget package:
dotnet add package DevExpress.Xpo
Create a new class that inherits from
XPLiteObject or XPObject:
- Configure the XPO data layer:
- Create a unit of work and execute a query: