共用方式為


下載範例資料庫 (LINQ to SQL)

LINQ to SQL 文件中的許多範例和逐步解說都使用 Northwind 範例資料庫和 SQL Server Express Edition。 您可以從 Microsoft 下載網站免費下載這些產品。

下載 Northwind 資料庫

若要下載和安裝 SQL Server 的 Northwind 範例資料庫

  1. 啟動 Internet Explorer。

  2. 移至 Northwind 和 Pubs 範例資料庫網站 (英文)。

  3. 按一下 [下載]。

  4. 在 [檔案下載] 對話方塊中,選取 [儲存]。

  5. 檔案下載之後,按兩下 [Nwind.exe] 檔案,安裝資料庫。

    資料庫預設是安裝在 drive:\SQL Server 2000 Sample Databases 中。

下載 SQL Server Express Edition

SQL Server Express Edition 可免費取得,而且可以將它連同應用程式一起轉散發。 如果您使用的是 Visual Studio,則 Pro 和更高版本會提供 SQL Server Express Edition。

若要下載和安裝 SQL Server Express Edition

  1. 啟動 Internet Explorer。

  2. 移至 Microsoft 下載中心網站。

  3. 在 [關鍵字] 方塊中,輸入 SQL Server Express。

  4. 按一下 [Go]。

  5. 按一下結果頁面上的連結至 [Microsoft SQL Server 2005 Express Edition] 下載頁面。

  6. 遵循網站上的安裝指示進行。

下載 Management Studio Express

如果您想要修改已下載的資料庫,則可以從 Visual Studio 整合式開發環境 (IDE) 的 [伺服器總管] 或使用 Microsoft SQL Server Management Studio Express (SSMSE) 來存取資料庫。

若要下載 Management Studio Express

請參閱

概念

使用者入門 (LINQ to SQL)