DatabaseObjectMapper.Compatibility
4.0.0-rc3
dotnet add package DatabaseObjectMapper.Compatibility --version 4.0.0-rc3
NuGet\Install-Package DatabaseObjectMapper.Compatibility -Version 4.0.0-rc3
<PackageReference Include="DatabaseObjectMapper.Compatibility" Version="4.0.0-rc3" />
<PackageVersion Include="DatabaseObjectMapper.Compatibility" Version="4.0.0-rc3" />
<PackageReference Include="DatabaseObjectMapper.Compatibility" />
paket add DatabaseObjectMapper.Compatibility --version 4.0.0-rc3
#r "nuget: DatabaseObjectMapper.Compatibility, 4.0.0-rc3"
#:package DatabaseObjectMapper.Compatibility@4.0.0-rc3
#addin nuget:?package=DatabaseObjectMapper.Compatibility&version=4.0.0-rc3&prerelease
#tool nuget:?package=DatabaseObjectMapper.Compatibility&version=4.0.0-rc3&prerelease
About DatabaseObjectMapper.Compatibility
This package exists solely as a compatibility layer to allow use of earlier DatabaseObjectMapper versions.
This should only be used if you were previously using DatabaseObjectMapper versions prior to version 4 and need backwards compatibility features.
Getting Started
Documentation is not supplied for this package. Use the latest version of DatabaseObjectMapper instead if you are starting a new project or refer to the earlier documentation for the DatabaseObjectMapper version you were using which led you to this package.
Continued Incompatibilities
References Types Required for Database Request Loading
Calls to DatabaseRequest such as DatabaseRequest.Select<T> allowed calls to both reference types and value types as long as they had a parameterless constructor. Structs and primitives will no longer work with these calls. They must be reference types with a parameterless constructor.
<DBOList>.SelectQuery Is Now <DBOList>.SelectText
Use .SelectText instead of .SelectQuery. For example, instead of fields.SelectQuery(...) use fields.SelectText(...) where fields is a DBOList.
Connection String Required for DBOList
When calling DBOList<T>, the connection string is required or must be set in the DatabaseOptionsManager first.
This means you must use DBOList<MockModel>(connectionString, "mocks") not DBOList<MockModel>("mocks").
DBOList Is DboList in Version 4
During the transition process as you move to version 4, you will want to move to DboList instead of DBOList.
| 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
- DatabaseObjectMapper (>= 4.0.0-rc3)
- Microsoft.Data.SqlClient (>= 7.0.2)
- MySqlConnector (>= 2.6.1)
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 |
|---|
This was created for backwards compatibility with Database Object Mapper version 3.1.0. This should only be used if you are upgrading from version 3.1.0.