LeeTeke.SqlDo.SqlServer 1.2.0

dotnet add package LeeTeke.SqlDo.SqlServer --version 1.2.0
                    
NuGet\Install-Package LeeTeke.SqlDo.SqlServer -Version 1.2.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="LeeTeke.SqlDo.SqlServer" Version="1.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LeeTeke.SqlDo.SqlServer" Version="1.2.0" />
                    
Directory.Packages.props
<PackageReference Include="LeeTeke.SqlDo.SqlServer" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LeeTeke.SqlDo.SqlServer --version 1.2.0
                    
#r "nuget: LeeTeke.SqlDo.SqlServer, 1.2.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.
#:package LeeTeke.SqlDo.SqlServer@1.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LeeTeke.SqlDo.SqlServer&version=1.2.0
                    
Install as a Cake Addin
#tool nuget:?package=LeeTeke.SqlDo.SqlServer&version=1.2.0
                    
Install as a Cake Tool

LeeTeke.SqlDo

[非ORM]
本工具主要为Sql语言命令生成器;简单封装了关于Mysql,SQLite,SqlServer的连接使用。并且封装了自定义数据集合类[SqlResult]。

** v1.2.0增加了 手动配置映射与自动映射 查询结果对象的功能

Nuget

NUGET

dotnet add package LeeTeke.SqlDo --version 1.2.0
  • LeeTeke.SqlDo --核心包,可用SqlCmd类进行命令生成,可将DbReader手动配置/自动映射到相关对象。
  • LeeTeke.SqlDo.MySql --连接MySql数据库所用,依赖MySql.Data包,简单封装了连接类 [MySqlService]。
  • LeeTeke.SqlDo.SQLite --连接SQLite数据库所用,依赖Microsoft.Data.Sqlite.Core包,简单封装了连接类 [SQLiteService]。
  • LeeTeke.SqlDo.SqlServer --连接SqlServer数据库所用,依赖Microsoft.Data.SqlClient包,简单封装了连接类 [SqlServerService]。

使用说明

最近事多暂时还未整理好(=.=);Demo里简单的写了一下例子(写了点)。

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.2.0 71 2 days ago
1.1.2 111 7 months ago
1.1.1 106 7 months ago
1.1.0 108 8 months ago
1.0.1 148 8 months ago 1.0.1 is deprecated because it has critical bugs.
1.0.0 138 8 months ago 1.0.0 is deprecated because it has critical bugs.