SqlBatis.DataMapper 5.1.0

dotnet add package SqlBatis.DataMapper --version 5.1.0                
NuGet\Install-Package SqlBatis.DataMapper -Version 5.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SqlBatis.DataMapper" Version="5.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SqlBatis.DataMapper --version 5.1.0                
#r "nuget: SqlBatis.DataMapper, 5.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SqlBatis.DataMapper as a Cake Addin
#addin nuget:?package=SqlBatis.DataMapper&version=5.1.0

// Install SqlBatis.DataMapper as a Cake Tool
#tool nuget:?package=SqlBatis.DataMapper&version=5.1.0                

Releases

5.1.0

  • Provide a few extension methods to easily register a type that depends on a named ISqlMapper instance.

// named instances
services.AddSqlMapper("foo", options => {...});

// types that depend on a named instance
services.AddSingletonWithNamedMapper<ISomeDao, SomeDao>("foo");

// same extensions exist for Transient and Scoped

5.0.0

  • Switched to .NET 5 (no longer supports .net framework)
  • Removed Caching (Breaking Change)
  • Added dynamic support
  • Improve build pipelines & code coverage

4.0.1

  • SourceLink support and symbol packages #6 (Thanks JTOne123)

4.0.0

  • Removed SqlBatis.DataAccess project (breaking change)
  • Removed SqlBatis.DataMapper.Logging.Log4Net project (breaking change)
  • Merged SqlBatis.Common into SqlBatis.DataMapper to be in a single assembly (breaking change)
    • Must manually remove SqlBatis.Common package when upgrading
  • Azure DevOps pipelines
  • Removed deprecated method: QueryForPaginatedList
  • Testing against net472;netcoreapp2.1;netcoreapp3.0
  • Added NetStandardLogger and NetStandardLoggerAdapter to work with Microsoft.Extensions.Logging
    • LogManager.Adapter = new NetStandardLoggerAdapter(Provider.GetRequiredService<ILoggerFactory>());
  • Added SqlBatis.Schemas NuGet Package to include providers.xsd, sqlmap.xsd and sqlmapconfig.xsd files for VS intellisense

3.1.0

  • Add support for registering named instances of ISqlMapper and getting them via ISqlMapperFactory

3.0.1

  • Add support for registering and getting an ISqlMapper through DI

3.0.0

  • Renamed from iBatisNet to SqlBatis
  • Added NOTICE file
  • BF: Correctly handle removal of sessions in AsyncLocalSessionStore
  • Updating NOTICE file to include original iBatisNet Notice.txt text
  • Including LICENSE.txt and NOTICE.txt file in NuGet packages

Delist 2.x packages published to nuget.org under IBatisNet.* Publishing new packages under SqlBatis name


2.1.0

  • Merged changes from rev 709676 which picked up a number fixes
  • Including SqlBatis.DataMapper.Logging.Log4Net .Net Framework assembly as well.
  • Getting rid of rest of the .net framework version.

2.0.0

  • Migrated rev 513437 if IBatisNet to .Net Standard
  • Decoupled Dynamic Proxy by dynamically loading ILazyFactory implementation via a new settings attribute called lazyFactoryType and splitting ProxyGeneratorFactory and CachedProxyGenerator to a separate project called IBatisNet.DynamicProxy. You only need this if you have any lazy-loaded results. Refactored to use latest version of Castle.Core package
  • Removed Transactions logic from System.EnterpriseServices
  • Introduced AsyncLocalSessionStore and removed all other ISessionStore implementations (DataMapper & DataAccess)
  • Removed auto instantiating of ILoggerFactoryAdapter using ConfigurationManager and defauled to NoOpLoggerFA. You must set LogManager.Adapter in your startup
  • Updating assembly versions and package versions to 2.0 (original .net framework version was 1.6.2)
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on SqlBatis.DataMapper:

Package Downloads
SqlBatis.DynamicProxy

LazyLoad support for SqlBatis.DataMapper using Castle DynamicProxy.

SqlBatis.DataAccess

Data Access Object (DAO) design pattern implementation in SqlBatis (iBATIS.Net)

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.1.0 32,877 4/18/2021
5.0.0 1,282 12/29/2020
4.0.1 1,637 7/5/2020
4.0.0 13,076 12/24/2019
4.0.0-CI-20191224-045351 1,092 12/24/2019
3.1.0 1,231 11/29/2019
3.0.1 1,340 11/22/2019
3.0.0 8,022 3/9/2019