fixes nonreg
This commit is contained in:
parent
f0e8451577
commit
f290074149
5 changed files with 54 additions and 87 deletions
|
|
@ -1,23 +1,11 @@
|
|||
using System;
|
||||
|
||||
namespace test.Settings
|
||||
{
|
||||
public abstract class DbConnectionSettings
|
||||
public 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 string DatabaseCtor { get; set; }
|
||||
public string Default { get; set; }
|
||||
public string Testing { get; set; }
|
||||
}
|
||||
|
||||
public class DevConnectionSettings : DbConnectionSettings
|
||||
{
|
||||
|
||||
}
|
||||
public class TestConnectionSettings : DbConnectionSettings
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue