How do you create a foreign key relationship in a SQL Server CE (Compact Edition) Database?

前端 未结 7 745
闹比i
闹比i 2021-02-04 23:44

Visual Studio 2005 doesn\'t provide an interface for creating relationships between tables in a SQL Server CE database (I\'m using version 3.0) and you can\'t open a Compact Edi

7条回答
  •  春和景丽
    2021-02-05 00:24

    Visual Studio 2008 does have a designer that allows you to add FK's. Just right-click the table... Table Properties, then go to the "Add Relations" section.

提交回复
热议问题