Afic.Common
2026.10.41
dotnet add package Afic.Common --version 2026.10.41
NuGet\Install-Package Afic.Common -Version 2026.10.41
<PackageReference Include="Afic.Common" Version="2026.10.41" />
<PackageVersion Include="Afic.Common" Version="2026.10.41" />
<PackageReference Include="Afic.Common" />
paket add Afic.Common --version 2026.10.41
#r "nuget: Afic.Common, 2026.10.41"
#:package Afic.Common@2026.10.41
#addin nuget:?package=Afic.Common&version=2026.10.41
#tool nuget:?package=Afic.Common&version=2026.10.41
Afic.Common
Afic.Net 的通用实体与数据核心基类,基于 Eazy.Data 的 BaseEntity<T> / BaseDataCore<T> 扩展,
不限定主键类型,供按主键类型划分的 Afic.Common.*Entity 包复用。
包内容
| 区域 | 类型 |
|---|---|
| 实体 | BaseCreationEntity<T>、BaseModificationEntity<T>、BaseDeletionEntity<T>、BaseNamedEntity<T> 及命名组合实体 |
| 数据核心 | BaseEntityDataCore<T>、BaseGenericDataCore<T>、BaseGenericCommonCore<T> |
实体基类实现 Afic.Define 中的 IHaveCreation、IHaveModification、IHaveDeletion、IHaveNamed 接口;
BaseGenericDataCore<T> 在查询时会自动过滤实现了 IHaveDeletion 的实体。
引用
<PackageReference Include="Afic.Common" Version="2026.10.32" />
需要具体主键类型时,请引用 Afic.Common.GuidEntity、Afic.Common.LongIdEntity、
Afic.Common.StringIdEntity 或 Afic.Common.SnowflakeEntity。
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. |
-
net8.0
- Afic.Core (>= 2026.10.41)
- Afic.Define (>= 2026.10.41)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Afic.Common:
| Package | Downloads |
|---|---|
|
Afic.Common.LongIdEntity
Base entity types with ulong identifiers for Afic.Net. |
|
|
Afic.Common.StringIdEntity
Base entity types with string identifiers for Afic.Net. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.10.41 | 186 | 10/31/2026 |
| 2026.10.40 | 165 | 10/30/2026 |
| 2026.10.38 | 177 | 10/28/2026 |
| 2026.10.37 | 163 | 10/27/2026 |
| 2026.10.36 | 171 | 10/26/2026 |
| 2026.10.35 | 164 | 10/26/2026 |
| 2026.10.34 | 161 | 10/26/2026 |
| 2026.10.33 | 166 | 10/26/2026 |