예제 #1
0
 public SqlServerStorage(IOptions <SqlServerStorageConfig> options)
 {
     if (options == null)
     {
         throw new ArgumentNullException(nameof(options));
     }
     _config = options.Value;
 }
예제 #2
0
 /// <summary>
 /// Finalizes an instance of the <see cref="SqlServerStorage"/> class.
 /// </summary>
 public void Dispose()
 {
     _config       = null;
     iDbConnection = null;
 }