Expand description
Model builder — Fluent API for configuring entity types.
The ModelBuilder is the central configuration hub. It collects
EntityTypeMeta from all registered entity types and entity
configurations, and produces the final metadata model used by
the migration engine and query builder.
Design note: builder structs (EntityTypeBuilder, PropertyBuilder, etc.)
are pure-DSL configuration types and do NOT impose IEntityType bounds.
Constraints live at the ModelBuilder entry points where entity_meta()
is actually called.
Structs§
- Collection
Navigation Builder - Entity
Type Builder - Fluent builder for configuring an entity type.
- Model
Builder - Central configuration point for the EF model.
Corresponds to EFCore’s
ModelBuilder. - Property
Builder - Reference
Navigation Builder
Traits§
- IEntity
Type Configuration - Interface for entity type configuration via the Fluent API.