fixes nonreg
parent
2fd4ac6713
commit
0f56ece955
@ -1,23 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace test.Settings
|
||||
{
|
||||
public abstract class DbConnectionSettings
|
||||
{
|
||||
public string Database { get; set; }
|
||||
public string Server { get; set; }
|
||||
public int Port { get; set; }
|
||||
public string Username { get; set; }
|
||||
|
||||
public string ConnectionString => $"Database={Database};Server={Server};Port={Port};Username={Username};Password={Password};";
|
||||
|
||||
public string Password { get; set; }
|
||||
}
|
||||
|
||||
public class DevConnectionSettings : DbConnectionSettings
|
||||
public class DbConnectionSettings
|
||||
{
|
||||
|
||||
}
|
||||
public class TestConnectionSettings : DbConnectionSettings
|
||||
{
|
||||
|
||||
public string DatabaseCtor { get; set; }
|
||||
public string Default { get; set; }
|
||||
public string Testing { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue