fork from 1.3
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace FreeSR.Database.Configuration
|
||||
{
|
||||
public class DatabaseEntry
|
||||
{
|
||||
public string CollectionName { get; set; }
|
||||
public DatabaseType Type { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
namespace FreeSR.Database.Configuration
|
||||
{
|
||||
using FreeSR.Shared.Exceptions;
|
||||
|
||||
internal class DatabaseMisconfiguredException : ServerInitializationException
|
||||
{
|
||||
public DatabaseMisconfiguredException(string message) : base(message)
|
||||
{
|
||||
// DatabaseMisconfiguredException.
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace FreeSR.Database.Configuration
|
||||
{
|
||||
public enum DatabaseType
|
||||
{
|
||||
Account
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user