Table of Contents

Class ArenaMatchEntityConfiguration

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

Entity configuration for ArenaMatchEntity.

public class ArenaMatchEntityConfiguration : IEntityTypeConfiguration<ArenaMatchEntity>
Inheritance
ArenaMatchEntityConfiguration
Implements
Inherited Members

Fields

UnfinishedFilter

"Not finished" as SQL text: every status before Ended. The filter of the unfinished-match index, and the condition the queries it serves write verbatim.

public static readonly string UnfinishedFilter

Field Value

string

Remarks

A literal in those queries rather than a parameter. The planner may use a partial index only when it can prove the query's condition implies the index's filter, and it can prove nothing about a parameter once a plan is cached for reuse.

Methods

Configure(EntityTypeBuilder<ArenaMatchEntity>)

Configures the entity of type ArenaMatchEntity.

public void Configure(EntityTypeBuilder<ArenaMatchEntity> builder)

Parameters

builder EntityTypeBuilder<ArenaMatchEntity>

The builder to be used to configure the entity type.