1 datacontext DatabaseContext
RaidMax edited this page 2023-05-20 22:09:21 -05:00

DatabaseContext Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph Data.Context
  Data.Context.DatabaseContext[[DatabaseContext]]
  class Data.Context.DatabaseContext abstractStyle;
  end
  subgraph Microsoft.EntityFrameworkCore
Microsoft.EntityFrameworkCore.DbContext[[DbContext]]
  end
Microsoft.EntityFrameworkCore.DbContext --> Data.Context.DatabaseContext

Members

Properties

Public properties

Type Name Methods
DbSet<EFACSnapshot> ACSnapshots get, set
DbSet<EFAliasLink> AliasLinks get, set
DbSet<EFAlias> Aliases get, set
DbSet<EFClientKill> ClientKills get, set
DbSet<EFClientMessage> ClientMessages get, set
DbSet<EFClientStatistics> ClientStatistics get, set
DbSet<EFClient> Clients get, set
DbSet<EFClientConnectionHistory> ConnectionHistory get, set
DbSet<EFChangeHistory> EFChangeHistory get, set
DbSet<EFMeta> EFMeta get, set
DbSet<EFHitLocation> HitLocations get, set
DbSet<EFClientHitStatistic> HitStatistics get, set
DbSet<EFInboxMessage> InboxMessages get, set
DbSet<EFMap> Maps get, set
DbSet<EFPenalty> Penalties get, set
DbSet<EFPenaltyIdentifier> PenaltyIdentifiers get, set
DbSet<EFServerSnapshot> ServerSnapshots get, set
DbSet<EFServerStatistics> ServerStatistics get, set
DbSet<EFServer> Servers get, set
DbSet<EFACSnapshotVector3> SnapshotVector3s get, set
DbSet<Vector3> Vector3s get, set
DbSet<EFWeaponAttachment> WeaponAttachments get, set
DbSet<EFWeapon> Weapons get, set
DbSet<ZombieAggregateClientStat> ZombieClientStatAggregates get, set
DbSet<ZombieClientStatRecord> ZombieClientStatRecords get, set
DbSet<ZombieMatchClientStat> ZombieMatchClientStats get, set
DbSet<ZombieMatch> ZombieMatches get, set
DbSet<ZombieRoundClientStat> ZombieRoundClientStats get, set

Methods

Public methods

Returns Name
int SaveChanges()
Task<int> SaveChangesAsync(bool acceptAllChangesOnSuccess, CancellationToken cancellationToken)

Protected methods

Returns Name
void OnModelCreating(ModelBuilder modelBuilder)

Details

Inheritance

  • DbContext

Constructors

DatabaseContext [1/2]

Source code

public DatabaseContext()

DatabaseContext [2/2]

Source code

protected DatabaseContext(DbContextOptions options)
Arguments
Type Name Description
DbContextOptions options

Methods

SaveChangesAsync

Source code

public override Task<int> SaveChangesAsync(bool acceptAllChangesOnSuccess, CancellationToken cancellationToken)
Arguments
Type Name Description
bool acceptAllChangesOnSuccess
CancellationToken cancellationToken

SaveChanges

Source code

public override int SaveChanges()

OnModelCreating

Source code

protected override void OnModelCreating(ModelBuilder modelBuilder)
Arguments
Type Name Description
ModelBuilder modelBuilder

Properties

Clients

public DbSet<EFClient> Clients { get; set; }

Aliases

public DbSet<EFAlias> Aliases { get; set; }
public DbSet<EFAliasLink> AliasLinks { get; set; }

Penalties

public DbSet<EFPenalty> Penalties { get; set; }

PenaltyIdentifiers

public DbSet<EFPenaltyIdentifier> PenaltyIdentifiers { get; set; }

EFMeta

public DbSet<EFMeta> EFMeta { get; set; }

EFChangeHistory

public DbSet<EFChangeHistory> EFChangeHistory { get; set; }

Vector3s

public DbSet<Vector3> Vector3s { get; set; }

SnapshotVector3s

public DbSet<EFACSnapshotVector3> SnapshotVector3s { get; set; }

ACSnapshots

public DbSet<EFACSnapshot> ACSnapshots { get; set; }

Servers

public DbSet<EFServer> Servers { get; set; }

ClientKills

public DbSet<EFClientKill> ClientKills { get; set; }

ClientMessages

public DbSet<EFClientMessage> ClientMessages { get; set; }

ServerStatistics

public DbSet<EFServerStatistics> ServerStatistics { get; set; }

ClientStatistics

public DbSet<EFClientStatistics> ClientStatistics { get; set; }

HitLocations

public DbSet<EFHitLocation> HitLocations { get; set; }

HitStatistics

public DbSet<EFClientHitStatistic> HitStatistics { get; set; }

Weapons

public DbSet<EFWeapon> Weapons { get; set; }

WeaponAttachments

public DbSet<EFWeaponAttachment> WeaponAttachments { get; set; }

Maps

public DbSet<EFMap> Maps { get; set; }

InboxMessages

public DbSet<EFInboxMessage> InboxMessages { get; set; }

ServerSnapshots

public DbSet<EFServerSnapshot> ServerSnapshots { get; set; }

ConnectionHistory

public DbSet<EFClientConnectionHistory> ConnectionHistory { get; set; }

ZombieMatches

public DbSet<ZombieMatch> ZombieMatches { get; set; }

ZombieMatchClientStats

public DbSet<ZombieMatchClientStat> ZombieMatchClientStats { get; set; }

ZombieRoundClientStats

public DbSet<ZombieRoundClientStat> ZombieRoundClientStats { get; set; }

ZombieClientStatAggregates

public DbSet<ZombieAggregateClientStat> ZombieClientStatAggregates { get; set; }

ZombieClientStatRecords

public DbSet<ZombieClientStatRecord> ZombieClientStatRecords { get; set; }

Generated with ModularDoc