0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

SQLite CLI でテーブルを作成して確認する手順

Last updated at Posted at 2025-09-15

1.新しいマイグレーションを作成

dotnet ef migrations add AddPremiumCalculationResult

• Migrations/ フォルダに AddPremiumCalculationResult.cs というファイルが生成されます。
• この中に PremiumCalculationResults テーブルを作成する SQL が入ります。

2.データベースに反映

dotnet ef database update

• SQLite に新しいテーブル PremiumCalculationResults が作成されます。

3.SQLite を開く

sqlite3 InsuranceProductManager2.db

4.テーブル一覧を表示して確認

.tables

5.登録されたデータを確認

SELECT * FROM PremiumCalculationResults;
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?