mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
This allows plugins to create custom dbcontexts, which would be namespaced in the scheme with a prefix. Migrations are supported too and the table would be prefixed too
15 lines
366 B
C#
15 lines
366 B
C#
namespace BTCPayServer.Abstractions.Models
|
|
{
|
|
public class DatabaseOptions
|
|
{
|
|
public DatabaseOptions(DatabaseType type, string connString)
|
|
{
|
|
DatabaseType = type;
|
|
ConnectionString = connString;
|
|
}
|
|
|
|
public DatabaseType DatabaseType { get; set; }
|
|
public string ConnectionString { get; set; }
|
|
}
|
|
}
|