DataObjects.Net is a rapid database application development framework. It combines business logic layer (BLL) development library, object-relational mapper (ORM) and a set of storage providers allowing the same BLL code to work transparently on any of them.
DataObjects.Net helps you to model complex domains with ease. It supports the development path you used to follow. We put a lot of efforts to allow you thinking of persistent objects as of regular .NET objects. DataObjects.Net relies on “Model-First” (or “Code-First”) concept pushing developers to focus on domain model and its business logic instead of caring about how and when the entities must be persisted. This allows you to design models using just usual .NET classes. Moreover, we eliminated the need to maintain separate XML mapping files.
So building complex models containing hundreds of persistent types is nearly as simple as doing the same for non-persistent models.
DataObjects.Net provides built-in version-to-version migration pattern for your applications. It automatically creates, and, if necessary, upgrades the schema on each Domain startup preserving all the data. The upgrade process is fully customizable.
DataObjects.Net has a full-featured LINQ-to-SQL translator with support for multiple SQL dialects. It is, likely, the first ORM designed to compile LINQ queries not just to SQL, but to generally any other query language. Its internal query representation is similar to query plan used in SQL databases instead of AST. This feature allows it to perform really complex query transformations while producing query for target database. Currently DataObjects.Net supports:
NOTE that Microsoft SQL Server 2008 R2, PostgreSQL v8.3, v8.4, and MySQL v5.5 were removed from supported versions list because they reached End-Of-Live status. Drivers for these versions still exist and we will try to keep them working but with no guarantee since no testing performed on them.
DataObjects.Net allows to transparently migrate between any of storages it supports.
DataObjects.Net provides various performance features:
DataObjects.Net 7.1 is built for .NET 5 and 6 so to start developing you need to have and IDE which supports these frameworks and also .NET SDK (if IDE does not include one of them).
To install DataObjects.Net you need to have the following components:
Note
Applications based on DataObjects.Net require just target platform they built for.
DataObjects.Net supports modern CLR-based languages:
Each release of DataObjects.Net is distributed as set of NuGet packages. ORM core libraries, database providers and extensions are provided as separate items.
Core package - Xtensive.Orm
The package includes core libraries and services.
Database provider packages
Extension packages
Note
For all list of packages see Xtensive’s profile at NuGet gallery.
DataObjects.Net is available to download or fork on Github and build packages for yourself by using dotnet build -c Release
Note
DataObjects.Net and its extensions published here are licensed under the MIT license.
DataObjects.Net distribution consists of the following components: