![]() |
VOOZH | about |
dotnet add package Galosys.Foundation.Actuator.EntityFrameworkCore --version 26.5.19.1
NuGet\Install-Package Galosys.Foundation.Actuator.EntityFrameworkCore -Version 26.5.19.1
<PackageReference Include="Galosys.Foundation.Actuator.EntityFrameworkCore" Version="26.5.19.1" />
<PackageVersion Include="Galosys.Foundation.Actuator.EntityFrameworkCore" Version="26.5.19.1" />Directory.Packages.props
<PackageReference Include="Galosys.Foundation.Actuator.EntityFrameworkCore" />Project file
paket add Galosys.Foundation.Actuator.EntityFrameworkCore --version 26.5.19.1
#r "nuget: Galosys.Foundation.Actuator.EntityFrameworkCore, 26.5.19.1"
#:package Galosys.Foundation.Actuator.EntityFrameworkCore@26.5.19.1
#addin nuget:?package=Galosys.Foundation.Actuator.EntityFrameworkCore&version=26.5.19.1Install as a Cake Addin
#tool nuget:?package=Galosys.Foundation.Actuator.EntityFrameworkCore&version=26.5.19.1Install as a Cake Tool
Actuator 模块的 EFCore 集成,提供日志实体的数据库映射和仓储实现。
| 组件 | 说明 |
|---|---|
AuditLogEntityTypeConfiguration |
AuditLog 表映射(lc.lc_audit_log) |
LoginLogEntityTypeConfiguration |
LoginLog 表映射(lc.lc_login_log) |
RequestLogEntityTypeConfiguration |
RequestLog 表映射(lc.lc_api_request_log) |
AuditLogRepository<TContext> |
AuditLog EFCore 仓储实现 |
LoginLogRepository<TContext> |
LoginLog EFCore 仓储实现 |
RequestLogRepository<TContext> |
RequestLog EFCore 仓储实现(含批量写入) |
// 注册 Actuator(Channel + Consumer)+ EFCore(Repository 实现)
services.AddActuatorEFCore<MyDbContext>();
该方法内部自动调用 services.AddActuator() 并注册三个仓储实现。
| 实体 | 表名 | Schema |
|---|---|---|
AuditLog |
lc_audit_log |
lc |
LoginLog |
lc_login_log |
lc |
RequestLog |
lc_api_request_log |
lc |
EntityTypeConfigurationBase 基类自动处理:
OccurredOn / LoginAt / CreatedAt 索引OperatorId 索引(AuditLog)services.AddActuator();
services.AddScoped<IAuditLogRepository, AuditLogRepository<MyDbContext>>();
services.AddScoped<ILoginLogRepository, LoginLogRepository<MyDbContext>>();
services.AddScoped<IRequestLogRepository, RequestLogRepository<MyDbContext>>();
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 26.5.19.1 | 100 | 5/19/2026 |
| 26.5.18.1 | 98 | 5/18/2026 |
| 26.5.15.1 | 93 | 5/15/2026 |
| 26.5.12.3 | 97 | 5/12/2026 |
| 26.5.12.2 | 94 | 5/12/2026 |
| 26.4.27.1-rc1 | 97 | 4/26/2026 |
| 26.4.25.1-rc1 | 99 | 4/25/2026 |
| 26.4.22.2-rc7 | 110 | 4/22/2026 |
| 26.4.22.2-rc6 | 98 | 4/22/2026 |
| 26.4.22.2-rc4 | 98 | 4/22/2026 |
| 26.4.22.2-rc3 | 94 | 4/22/2026 |