fork from 1.3

This commit is contained in:
moux23333
2024-01-27 21:06:07 +08:00
commit 22fc0b0848
1507 changed files with 24139 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
namespace FreeSR.Database.Configuration
{
public class DatabaseConfiguration
{
public string ConnectionString { get; set; }
public string Name { get; set; }
public DatabaseEntry[] Entries { get; set; }
}
}

View File

@@ -0,0 +1,8 @@
namespace FreeSR.Database.Configuration
{
public class DatabaseEntry
{
public string CollectionName { get; set; }
public DatabaseType Type { get; set; }
}
}

View File

@@ -0,0 +1,12 @@
namespace FreeSR.Database.Configuration
{
using FreeSR.Shared.Exceptions;
internal class DatabaseMisconfiguredException : ServerInitializationException
{
public DatabaseMisconfiguredException(string message) : base(message)
{
// DatabaseMisconfiguredException.
}
}
}

View File

@@ -0,0 +1,7 @@
namespace FreeSR.Database.Configuration
{
public enum DatabaseType
{
Account
}
}