HZY.Framework.Repository.EntityFramework.PostgreSql
HZY.Framework EF Core 仓储 - PostgreSql Provider ===== 使用教程 ===== 1、安装本包 + HZY.Framework.Repository.EntityFramework,Program.cs 一行注册: builder.AddPostgreSqlRepository<AppDbContext>(new RepositoryOptions { ConnectionString = "Host=localhost;Port=5432;Database=demo;Username=root;Password=123456" }); var app = builder.Build(); app.UseRepository(); // AddPostgreSqlRepository 会自动设置 DefaultDatabaseType 并启用原生批量提供者; // 通用注册 builder.AddRepository<AppDbContext>(...) 也可用,但需自行指定数据库类型 2、实体与使用方式见 HZY.Framework.Repository.EntityFramework 包说明。 BulkInsertRange/BulkUpdateRange/BulkInsertOrUpdateRange 走 PostgreSql 原生批量 SQL。 源码与完整文档:https://gitee.com/hzy6/HZY.Framework
Activity
- Latest release
- 2d ago
- Total releases
- 16
- Cadence
- ~daily
- Last 12 months
- 16
Details
- License
- MIT
- First release
- Aug 03, 2026
| Version | Released | |
|---|---|---|
10.1.19
patch
|
10.1.19
patch
Dependencies (4)
|
|
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)
|