Skip to content

Instantly share code, notes, and snippets.

@kamsar
Created October 9, 2013 15:46
Show Gist options
  • Save kamsar/6903359 to your computer and use it in GitHub Desktop.
Save kamsar/6903359 to your computer and use it in GitHub Desktop.
WFM Connection String Provider
/// <summary>
/// Extends the standard WFM data provider to use a regular .NET connection string name instead of a bare connection string (such that we can store all connection strings in one file)
/// </summary>
public class SqlServerWfmDataProvider : WFMDataProvider
{
public SqlServerWfmDataProvider(string connectionStringName) : base(ConfigurationManager.ConnectionStrings[connectionStringName].ConnectionString)
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment