C# – SQLite 相關 Tips

  1. 透過NuGet引用的套件:Microsoft.Data.Sqlite.Core, SQLitePCLRaw.bundle_e_sqlite3
  2. 預計Open資料庫時就會自動建立資料庫檔案
  3. 建立資料表(如果沒有)SQL指令:CREATE TABLE IF NOT EXISTS table_name ( table definition )

留言

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.