CodeM.Common.DbHelper
1.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package CodeM.Common.DbHelper --version 1.0.0
NuGet\Install-Package CodeM.Common.DbHelper -Version 1.0.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="CodeM.Common.DbHelper" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CodeM.Common.DbHelper --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CodeM.Common.DbHelper, 1.0.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 CodeM.Common.DbHelper as a Cake Addin #addin nuget:?package=CodeM.Common.DbHelper&version=1.0.0 // Install CodeM.Common.DbHelper as a Cake Tool #tool nuget:?package=CodeM.Common.DbHelper&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
.netcore DBHelper
简介
netcoreDBHelper不是ORM框架,只是对.netcore中数据库操作的封装。封装的意义在于使用DBHelper进行数据库操作时,将操作代码和具体的数据库隔离开,在未来如果需要更换数据库便不需要修改操作代码,只需简单的替换数据提供者和数据源配置信息。
代码示例
DbUtils.RegisterDbProvider("mysql", "MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data");
DbUtils.AddDataSource("test", "mysql", "Server=localhost;Database=test; User=root;Password=root;");
DbUtils.ExecuteNonQuery("test", "Insert Into User (id, name) Values(1, 'wangxm')");
Github
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. |
.NET Core | netcoreapp3.0 is compatible. netcoreapp3.1 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on CodeM.Common.DbHelper:
Package | Downloads |
---|---|
CodeM.Common.Orm
一套轻量级Object/Relational Mapping通用数据库操作框架 |
|
Derd
Derd是一款使用简单、功能强大的对象关系映射(O/RM)组件 |
GitHub repositories
This package is not used by any popular GitHub repositories.