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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 includeproviders.xsd
,sqlmap.xsd
andsqlmapconfig.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 newsettings
attribute calledlazyFactoryType
and splittingProxyGeneratorFactory
andCachedProxyGenerator
to a separate project called IBatisNet.DynamicProxy. You only need this if you have any lazy-loaded results. Refactored to use latest version ofCastle.Core
package - Removed Transactions logic from
System.EnterpriseServices
- Introduced
AsyncLocalSessionStore
and removed all otherISessionStore
implementations (DataMapper & DataAccess) - Removed auto instantiating of
ILoggerFactoryAdapter
usingConfigurationManager
and defauled toNoOpLoggerFA
. You must setLogManager.Adapter
in your startup - Updating assembly versions and package versions to 2.0 (original .net framework version was 1.6.2)
Product | Versions 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.
-
net5.0
- Microsoft.Extensions.DependencyInjection (>= 5.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 5.0.0)
- Microsoft.Extensions.Options (>= 5.0.0)
- Microsoft.Extensions.Options.DataAnnotations (>= 5.0.0)
- System.Reflection.Emit (>= 4.7.0)
- System.Reflection.Emit.Lightweight (>= 4.7.0)
- System.Security.Permissions (>= 5.0.0)
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.
Changed iBatisNet to SqlBatis
https://github.com/rasitha1/SqlBatis/blob/master/README.md