選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

25 行
470B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using System.Data.SQLite;
  5. namespace CSVDownloader.Store {
  6. abstract class SQLite3 {
  7. protected SQLiteConnection conn_;
  8. ~SQLite3() {
  9. if (conn_ != null) {
  10. conn_.Close();
  11. }
  12. }
  13. protected void Open(String source) {
  14. conn_ = new SQLiteConnection($"Data Source={source}");
  15. conn_.Open();
  16. }
  17. }
  18. }