tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Database
IDatabaseSeeder.cs
Go to the documentation of this file.
1
using
System;
2
using
System.Threading;
3
using
System.Threading.Tasks;
4
5
namespace
Tgstation.Server.Host.Database
6
{
10
interface
IDatabaseSeeder
11
{
18
ValueTask
Initialize
(
IDatabaseContext
databaseContext, CancellationToken cancellationToken);
19
27
ValueTask
Downgrade
(
IDatabaseContext
databaseContext, Version downgradeVersion, CancellationToken cancellationToken);
28
}
29
}
Tgstation.Server.Host.Database.IDatabaseContext
Represents the database.
Definition
IDatabaseContext.cs:17
Tgstation.Server.Host.Database.IDatabaseSeeder
For initially setting up a database.
Definition
IDatabaseSeeder.cs:11
Tgstation.Server.Host.Database.IDatabaseSeeder.Downgrade
ValueTask Downgrade(IDatabaseContext databaseContext, Version downgradeVersion, CancellationToken cancellationToken)
Migrate a given databaseContext down.
Tgstation.Server.Host.Database.IDatabaseSeeder.Initialize
ValueTask Initialize(IDatabaseContext databaseContext, CancellationToken cancellationToken)
Setup up a given databaseContext .
Tgstation.Server.Host.Database
Definition
DatabaseCollection.cs:11
Generated by
1.9.8