You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class CustomSqlDataSourceWizardConnectionStringsProvider : IDataSourceWizardConnectionStringsProvider {
IConfiguration Configuration { get; }
public CustomSqlDataSourceWizardConnectionStringsProvider(IConfiguration configuration) {
Configuration = configuration;
}
public Dictionary<string, string> GetConnectionDescriptions() {
var connections = Configuration.GetSection("ReportingDataConnectionStrings").AsEnumerable(makePathsRelative: true).ToDictionary(x => x.Key, x => x.Key);
return connections;
}
public DataConnectionParametersBase GetDataConnectionParameters(string name) {
return null;//to prevent serialization of encrypted connection parameters