-
-
Notifications
You must be signed in to change notification settings - Fork 44
datacontext DatabaseContext
RaidMax edited this page May 21, 2023
·
1 revision
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
Returns | Name |
---|---|
int |
SaveChanges () |
Task <int > |
SaveChangesAsync (bool acceptAllChangesOnSuccess, CancellationToken cancellationToken) |
Returns | Name |
---|---|
void |
OnModelCreating (ModelBuilder modelBuilder) |
DbContext
public DatabaseContext()
protected DatabaseContext(DbContextOptions options)
Type | Name | Description |
---|---|---|
DbContextOptions |
options |
public override Task<int> SaveChangesAsync(bool acceptAllChangesOnSuccess, CancellationToken cancellationToken)
Type | Name | Description |
---|---|---|
bool |
acceptAllChangesOnSuccess | |
CancellationToken |
cancellationToken |
public override int SaveChanges()
protected override void OnModelCreating(ModelBuilder modelBuilder)
Type | Name | Description |
---|---|---|
ModelBuilder |
modelBuilder |
public DbSet<EFClient> Clients { get; set; }
public DbSet<EFAlias> Aliases { get; set; }
public DbSet<EFAliasLink> AliasLinks { get; set; }
public DbSet<EFPenalty> Penalties { get; set; }
public DbSet<EFPenaltyIdentifier> PenaltyIdentifiers { get; set; }
public DbSet<EFMeta> EFMeta { get; set; }
public DbSet<EFChangeHistory> EFChangeHistory { get; set; }
public DbSet<Vector3> Vector3s { get; set; }
public DbSet<EFACSnapshotVector3> SnapshotVector3s { get; set; }
public DbSet<EFACSnapshot> ACSnapshots { get; set; }
public DbSet<EFServer> Servers { get; set; }
public DbSet<EFClientKill> ClientKills { get; set; }
public DbSet<EFClientMessage> ClientMessages { get; set; }
public DbSet<EFServerStatistics> ServerStatistics { get; set; }
public DbSet<EFClientStatistics> ClientStatistics { get; set; }
public DbSet<EFHitLocation> HitLocations { get; set; }
public DbSet<EFClientHitStatistic> HitStatistics { get; set; }
public DbSet<EFWeapon> Weapons { get; set; }
public DbSet<EFWeaponAttachment> WeaponAttachments { get; set; }
public DbSet<EFMap> Maps { get; set; }
public DbSet<EFInboxMessage> InboxMessages { get; set; }
public DbSet<EFServerSnapshot> ServerSnapshots { get; set; }
public DbSet<EFClientConnectionHistory> ConnectionHistory { get; set; }
public DbSet<ZombieMatch> ZombieMatches { get; set; }
public DbSet<ZombieMatchClientStat> ZombieMatchClientStats { get; set; }
public DbSet<ZombieRoundClientStat> ZombieRoundClientStats { get; set; }
public DbSet<ZombieAggregateClientStat> ZombieClientStatAggregates { get; set; }
public DbSet<ZombieClientStatRecord> ZombieClientStatRecords { get; set; }
Generated with ModularDoc