dmdbms.DmProvider
1.1.3
dotnet add package dmdbms.DmProvider --version 1.1.3
NuGet\Install-Package dmdbms.DmProvider -Version 1.1.3
<PackageReference Include="dmdbms.DmProvider" Version="1.1.3" />
paket add dmdbms.DmProvider --version 1.1.3
#r "nuget: dmdbms.DmProvider, 1.1.3"
// Install dmdbms.DmProvider as a Cake Addin
#addin nuget:?package=dmdbms.DmProvider&version=1.1.3
// Install dmdbms.DmProvider as a Cake Tool
#tool nuget:?package=dmdbms.DmProvider&version=1.1.3
DmProvider
- DmProvider is an ADO.NET data provider for DaMeng(DM).
- 适用于达梦数据库的ADO.NET数据提供程序
How to Use - 使用方法
// set these values correctly for your database server
// 根据实际情况设置参数的值
var builder = new DmConnectionStringBuilder
{
Server = "your-server",
Port = 5236,
Schema = "database-name",
User = "database-user",
Password = "P@ssw0rd!"
};
// open a connection
// 打开连接
using var connection = new DmConnection(builder.ConnectionString);
connection.Open();
// create a DB command and set the SQL statement with parameters
// 创建一个数据库命令对象并设置参数
using var command = connection.CreateCommand();
command.CommandText = @"SELECT * FROM orders WHERE order_id = @OrderId;";
command.Parameters.AddWithValue("@OrderId", orderId);
// execute the command and read the results
// 执行SQL命令并读取结果
using var reader = command.ExecuteReader();
while (reader.Read())
{
var id = reader.GetInt32("order_id");
var date = reader.GetDateTime("order_date");
// ...
}
Main Types - 主要类型
The main types provided by this library are: 此程序库提供了这些主要类型:
DmConnection
(implementation ofDbConnection
)DmCommand
(implementation ofDbCommand
)DmDataReader
(implementation ofDbDataReader
)DmBulkCopy
DmConnectionStringBuilder
DmConnectorFactory
DmDataAdapter
(implementation ofDbDataAdapter
)DmException
DmTransaction
(implementation ofDbTransaction
)
Related Packages - 相关包
- Entity Framework Core: dmdbms.Microsoft.EntityFrameworkCore.Dm
Product | Versions 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. |
-
net6.0
- No dependencies.
NuGet packages (8)
Showing the top 5 NuGet packages that depend on dmdbms.DmProvider:
Package | Downloads |
---|---|
DYKJ.Framework
DYKJ.Framework |
|
HanaTech.Framework.Appsettings.Init
Package Description |
|
Datory
基于 Dapper 及 SqlKata 的通用数据库操作库,支持SqlServer、MySql、PostgreSql、SQLite以及DM8。 |
|
dmdbms.Microsoft.EntityFrameworkCore.Dm
DaMeng database provider for Entity Framework Core. 适用于达梦数据库的Entity Framework Core提供程序. |
|
CYQ.Data.DaMeng
.NET's best ORM data layer framework, one of the wood, low-key continuous update for 15 years! In the tank. Net Framework 2.0+, supported. Net Core 2.1+ supports a variety of databases, built-in database read/write separation, distributed cache, distributed locks, etc(.Net 最好用的ORM数据层框架,木有之一,低调持续更新15年!支持.Net Framework 2.0+,支持.Net Core 2.1+,支持多种数据库,自带数据库读写分离,分布式缓存,分布式锁等,开源地址:https://github.com/cyq1162/cyqdata) |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on dmdbms.DmProvider:
Repository | Stars |
---|---|
DotNetNext/SqlSugar
.Net aot ORM Fastest ORM Simple Easy Sqlite orm Oracle ORM Mysql Orm postgresql ORm SqlServer oRm 达梦 ORM 人大金仓 ORM 神通ORM C# ORM , C# ORM .NET ORM NET5 ORM .NET6 ORM ClickHouse orm QuestDb ,TDengine ORM,OceanBase orm,GaussDB orm ,Tidb orm Object/Relational Mapping
|
Version | Downloads | Last updated |
---|---|---|
1.1.0.20739 | 756 | 1/26/2024 |
1.1.0.16649 | 14,243 | 5/18/2023 |