You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
752 B
28 lines
752 B
4 years ago
|
using CK.SCP.Models.Enums;
|
||
|
|
||
|
namespace CK.SCP.Models
|
||
|
{
|
||
|
public class DbSetting
|
||
|
{
|
||
|
public override string ToString()
|
||
|
{
|
||
|
return EntitiesHelper.GetPropertiesString(this);
|
||
|
}
|
||
|
|
||
|
public DbSetting() { }
|
||
|
|
||
|
public DbSetting(DataBaseType type)
|
||
|
{
|
||
|
���ݿ����� = type.ToString();
|
||
|
}
|
||
|
|
||
|
public string ���ݿ����� { get; set; } = Enums.DataBaseType.SQLServer.ToString();
|
||
|
|
||
|
public string ��������ַ { get; set; } = "127.0.0.1";
|
||
|
public string �˿� { get; set; } = "1433";
|
||
|
public string ���ݿ����� { get; set; } = "DB_NAME";
|
||
|
public string �û��� { get; set; } = "sa";
|
||
|
public string ���� { get; set; } = "5E0AFEB85CA001A3371A9F19E7EC4DFF";
|
||
|
|
||
|
}
|
||
|
}
|