Skip to content

Instantly share code, notes, and snippets.

@talkingdotnet
Created February 25, 2018 15:35
Show Gist options
  • Save talkingdotnet/380c3fe87f0db39915e2398928d40bb6 to your computer and use it in GitHub Desktop.
Save talkingdotnet/380c3fe87f0db39915e2398928d40bb6 to your computer and use it in GitHub Desktop.
private string _connectionString = "";
private string _directoryPath = "";
public DataExtractor(IConfigurationRoot config)
{
_connectionString = config["AppSettings:SQLConnectionString"];
_directoryPath = config["AppSettings:SourceDirectoryPath"];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment