/// <summary> /// Default ctor /// </summary> public SqlServerGeckoDataProvider() { FriendlyId = string.Format("{0}SqlServer", GeckoboardDataService.GeckoboardDataProviderPrefix); myConfig = new SqlServerGeckoDataProviderConfig { ConnectionString = "MonitorWang" }; }
/// <summary> /// Allows external configuration (config object must be in IoC Container /// or created by hand) /// </summary> /// <param name="config"></param> public SqlServerGeckoDataProvider(SqlServerGeckoDataProviderConfig config) : this() { myConfig = config; }