Class WorldClockControlEntityConfiguration
Entity configuration for WorldClockControlEntity: the single-row
world_clock_control table.
public class WorldClockControlEntityConfiguration : IEntityTypeConfiguration<WorldClockControlEntity>
- Inheritance
-
WorldClockControlEntityConfiguration
- Implements
- Inherited Members
Remarks
The check constraints are the backstop for writes that do not come through
WorldClockControlService (psql, a future tool): the service validates the same bounds
first and says why, so in practice these only ever refuse a hand-written statement.
Methods
Configure(EntityTypeBuilder<WorldClockControlEntity>)
Configures the entity of type WorldClockControlEntity.
public void Configure(EntityTypeBuilder<WorldClockControlEntity> builder)
Parameters
builderEntityTypeBuilder<WorldClockControlEntity>The builder to be used to configure the entity type.