コード例 #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;
 }