예제 #1
0
 /// <summary>
 /// Default ctor
 /// </summary>
 public SqlServerGeckoDataProvider()
 {
     FriendlyId = string.Format("{0}SqlServer", GeckoboardDataService.GeckoboardDataProviderPrefix);
     myConfig   = new SqlServerGeckoDataProviderConfig
     {
         ConnectionString = "MonitorWang"
     };
 }
예제 #2
0
 /// <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;
 }