ZJDbSharpManage 2.5.48

dotnet add package ZJDbSharpManage --version 2.5.48
                    
NuGet\Install-Package ZJDbSharpManage -Version 2.5.48
                    
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="ZJDbSharpManage" Version="2.5.48" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ZJDbSharpManage" Version="2.5.48" />
                    
Directory.Packages.props
<PackageReference Include="ZJDbSharpManage" />
                    
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 ZJDbSharpManage --version 2.5.48
                    
#r "nuget: ZJDbSharpManage, 2.5.48"
                    
#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 ZJDbSharpManage@2.5.48
                    
#: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=ZJDbSharpManage&version=2.5.48
                    
Install as a Cake Addin
#tool nuget:?package=ZJDbSharpManage&version=2.5.48
                    
Install as a Cake Tool

DbSharpManage

DbSharpManage是的一个美观、便捷的高性能数据库操作的.net框架

DbSharpManage is a beautiful, convenient and high-performance .net framework for database operations

Insert Table Rows(插入)

var objtarry = new
 {
     SYSID = "XXAA0001",
     CODE = "XXAA0001",
     REMARK = "XXARemark"
 }; 
 //声明对象并调用Insert("TEST")的方法,"TEST"为表,InsertColumns为写入到"TEST"的数据
 DbPublicOracle.OpertionTable tto = new DbPublicOracle.OpertionTable();
 Result rltInsert = tto.Insert("TEST").InsertColumns(objtarry.ToDictionary()); 
 或
var objtarry = new Dictionary<string, object>
 {
     { "SYSID","XXAA0001"},
     { "CODE","XXAA0001"},
     { "REMARK","Update测试"}
 };
 //声明对象并调用Insert("TEST")的方法,"TEST"为表,InsertColumns为写入到"TEST"的数据
 DbPublicOracle.OpertionTable tto = new DbPublicOracle.OpertionTable();
 Result rltInsert = tto.Insert("TEST").InsertColumns(objtarry); 

Update Table Rows(更新)

var Setvalue = new Dictionary<string, object>
{
    { "CODE","UPDATEA00001"},
    { "CREATIONDATE",System.DateTime.Now},
    { "REMARK","Update测试"}
};
var Wherevalue = new Dictionary<string, object>
{
    { "SYSID","B00001"}
};
 //Update("TEST")的方法,"TEST"为表,SetColumns为更新的数据,WhereColumns为更新表"TEST"的条件
Result rltUpdate = tto.Update("TEST").SetColumns(Setvalue).WhereColumns(Wherevalue);

Delete Table Rwos(删除)

var DeleteWherevalue = new Dictionary<string, object>
{
    { "SYSID","741"}
};
//Delete("TEST")的方法,"TEST"为表,WhereColumns为更新表"TEST"的条件
Result rltDelete = tto.Delete("TEST").WhereColumns(DeleteWherevalue);

Data transaction operations(数据事务操作)

 var objtarry = new
 {
     SYSID = "XXAA0001",
     CODE = "XXAA0001",
     CREATIONDATE = System.DateTime.Now,
     REMARK = "XXARemark"
 };
 var Setvalue = new Dictionary<string, object>
{
    { "CODE","UPDATEA00001"},
    { "CREATIONDATE",System.DateTime.Now},
    { "REMARK","Update测试"}
};
var Wherevalue = new Dictionary<string, object>
{
    { "SYSID","B00001"}
};
var DeleteWherevalue = new Dictionary<string, object>
{
    { "SYSID","741"}
};
//声明对象并调用操作命令,最后须调用TranCommit("")方法提交
DbPublicOracle.OpertionTranTable otranle = new DbPublicOracle.OpertionTranTable();
otranle.Insert("TEST").InsertColumns(objtarry.ToDictionary());
otranle.Update("TEST").SetColumns(Setvalue).WhereColumns(Wherevalue);
otranle.Delete("TEST").WhereColumns(DeleteWherevalue);
Result Rult = otranle.TranCommit("");
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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. 
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
2.5.48 113 4/20/2026