/// <summary> /// 数据库服务器配置 /// </summary> /// <param name="address">数据库服务器地址</param> public MagpieServerSettings(MagpieServerAddress address) : this() { if (address == null) { throw new ArgumentNullException("address"); } _address = address; }
private void Parse(string url) { _server = MagpieServerAddress.Create(url); }
/// <summary> /// 数据库URL构造器 /// </summary> public MagpieUrlBuilder() { _server = null; }
/// <summary> /// 数据库服务器配置 /// </summary> public MagpieServerSettings() { _address = null; }