Table of Contents

Class WorldClockControlEntityConfiguration

Namespace
FishMMO.Database.Npgsql.Entities
Assembly
FishMMO-DB.dll

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

builder EntityTypeBuilder<WorldClockControlEntity>

The builder to be used to configure the entity type.