Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (20 sloc) 496 Bytes
namespace runracereview
{
public class Settings
{
public string Database { get; set; }
private string _connectionString = string.Empty;
public string ConnectionString
{
get
{
if (IsContained && Development) { return Container; }
return _connectionString;
}
set { _connectionString = value; }
}
public string Container { get; set; }
public bool IsContained { get; set; }
public bool Development { get; set; }
}
}