CodeMissing.DBSQLHelper
1.0.2
.NET Standard 2.1
This package targets .NET Standard 2.1. The package is compatible with this framework or higher.
.NET Framework 4.5.1
This package targets .NET Framework 4.5.1. The package is compatible with this framework or higher.
dotnet add package CodeMissing.DBSQLHelper --version 1.0.2
NuGet\Install-Package CodeMissing.DBSQLHelper -Version 1.0.2
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="CodeMissing.DBSQLHelper" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CodeMissing.DBSQLHelper" Version="1.0.2" />
<PackageReference Include="CodeMissing.DBSQLHelper" />
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 CodeMissing.DBSQLHelper --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CodeMissing.DBSQLHelper, 1.0.2"
#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 CodeMissing.DBSQLHelper@1.0.2
#: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=CodeMissing.DBSQLHelper&version=1.0.2
#tool nuget:?package=CodeMissing.DBSQLHelper&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ISQLHelper - 基于ADO.NET的SQL帮助类接口
已实现 SQLServerHelper、OracleSQLHelper。提供基础的接口方法:
- 参数化的基本SQL语句执行
- 查询DataTable结果的数据
- 判断数据库和表是否存在
- 判断用户是否存在、用户是否具有某权限或某角色
- 更改连接的DB
- 提供当前连接对象DbConnection(未指定在ISQLHelper,各实现自己提供)
- 获取服务器版本
支持.NET Framework 4.5和.NET Standard2.1
比较大型高效的DB访问场景,还是推荐使用Dapper框架。也可以Dapper与ISQLHelper提供的连接对象结合使用
简要用法 和 注意
详见各实现说明
License
BSD-2-Clause(涉及第三方类库或代码,以第三方或兼容第三方类库的License为准)
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. 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. net9.0 was computed. 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. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| .NET Framework | net451 is compatible. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.5.1
- No dependencies.
-
.NETStandard 2.1
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on CodeMissing.DBSQLHelper:
| Package | Downloads |
|---|---|
|
CodeMissing.SQLServerHelper
很简单的SQL Server帮助类,基本的参数化SQL语句执行、查询DataTable结果的数据、判断数据库和表是否存在、更改连接的DB。支持.NET 4.5和.NET Standard2.1 |
|
|
CodeMissing.OracleSQLHelper
很简单的Oracle SQL帮助类,基本的参数化SQL语句执行、查询DataTable结果的数据、判断数据库和表是否存在、更改连接的DB。支持.NET 4.5.1和.NET Standard2.1 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.2 | 588 | 5/16/2024 |