HZY.Framework.Repository.EntityFramework.MySql
HZY.Framework EF Core 仓储 - MySql Provider ===== 使用教程 ===== 1、安装本包 + HZY.Framework.Repository.EntityFramework,Program.cs 一行注册: builder.AddMySqlRepository<AppDbContext>(new RepositoryOptions { ConnectionString = "server=localhost;port=3306;database=demo;user=root;password=123456;" }); var app = builder.Build(); app.UseRepository(); // AddMySqlRepository 会自动设置 DefaultDatabaseType=MySql 并启用原生批量提供者; // 通用注册 builder.AddRepository<AppDbContext>(...) 也可用,但需自行指定数据库类型 2、实体与使用方式见 HZY.Framework.Repository.EntityFramework 包说明。 BulkInsertRange/BulkUpdateRange/BulkInsertOrUpdateRange 走 MySql 原生批量 SQL。 源码与完整文档:https://gitee.com/hzy6/HZY.Framework
Activity
- Latest release
- 3w ago
- Total releases
- 15
- Cadence
- ~daily
- Last 12 months
- 15
Details
- License
- MIT
- First release
- Aug 03, 2026
| Version | Released | |
|---|---|---|
10.1.18
patch
|
10.1.18
patch
Dependencies (4)
|
|
10.1.17
patch
|
10.1.17
patch
Dependencies (4)
|
|
10.1.16
patch
|
10.1.16
patch
Dependencies (4)
|
|
10.1.15
patch
|
10.1.15
patch
Dependencies (4)
|
|
10.1.14
patch
|
10.1.14
patch
Dependencies (4)
|
|
10.1.10
patch
|
10.1.10
patch
Dependencies (4)
|
|
10.1.9
patch
|
10.1.9
patch
Dependencies (4)
|
|
10.1.8
patch
|
10.1.8
patch
Dependencies (4)
|
|
10.1.7
patch
|
10.1.7
patch
Dependencies (4)
|
|
10.1.6
patch
|
10.1.6
patch
Dependencies (4)
|
|
10.1.5
patch
|
10.1.5
patch
Dependencies (4)
|
|
10.1.4
patch
|
10.1.4
patch
Dependencies (4)
|
|
10.1.3
patch
|
10.1.3
patch
Dependencies (4)
|
|
10.1.2
patch
|
10.1.2
patch
Dependencies (4)
|
|
10.1.1
initial
|
10.1.1
initial
Dependencies (4)
|