Cephalon.Ids.Sfid
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Maturity:
M2· Ownership: cephalon-managed · Family:audit-and-identity· See audit, matrix.
Cephalon.Ids.Sfid is the official Sfid.Net-backed id-strategy companion package for Cephalon.
What it owns
Section titled “What it owns”- wraps the official
Sfid.Netgenerator behindCephalon.Abstractions.Ids.IIdGenerator - exposes the official
SfidNet.Abstractions.ISfidGeneratorto companion packs that need package-native typed-id integration - maps Cephalon runtime selection through
AppProfile.Data.IdGeneratorto thesfidstrategy - reads optional generator topology from
Engine:Data:Ids:Sfid - keeps Snowflake/Sfid implementation details out of
Cephalon.EngineandCephalon.Abstractions
Main surfaces
Section titled “Main surfaces”Configuration/SfidIdOptions.csRegistration/SfidEngineBuilderExtensions.cs
How it fits
Section titled “How it fits”This package is the first concrete slice of the phase-8 id strategy story. Cephalon.Abstractions stays host-agnostic through IIdGenerator, Cephalon.Engine continues to surface the selected id strategy through AppProfile.Data.IdGenerator, and this pack supplies the actual generator implementation by delegating to the official Sfid.Net package instead of creating a Cephalon-specific Snowflake runtime.
The pack is intentionally small. It gives Cephalon one truthful id baseline now, while also exposing the official generator interface so Cephalon.Data.EntityFramework can light up Sfid.EntityFramework conventions and save-time key assignment without duplicating Snowfake logic in Cephalon code.