public DataSource(string guid, string name, string type, string param) { this.Guid = guid; this.Name = name; this.Type = type; this.Params = new sParams(param); }
public DataSource(string guid, string name, string p_host, string p_db, string p_user, string p_password) { this.Guid = guid; this.Name = name; this.Params = new sParams(p_host, p_db, p_user, p_password); }