My Oracle Support Banner

How to Create a Foreign Key Constraint on a Relational Table using Oracle Developer Tools for .NET Table Design Wizard (Doc ID 1325677.1)

Last updated on NOVEMBER 15, 2011

Applies to:

Oracle Developer Tools for Visual Studio .NET - Version: to - Release: 11.2 to 11.2
Information in this document applies to any platform.


To demonstrate the steps on creating a foreign key constraint on an existing relational table using the Oracle Developer Tools Table Design wizard in Visual Studio.NET. This will show how easy it is to add a foreign key constraint to an existing relational table using the GUI design wizard.

The following prerequisites exist for running the sample:
- Must have Oracle Developer Tools for .Net or higher installed.
- Must connect to database version 9.2 or higher
- Must have Microsoft Visual Studio .NET 2005, 2008, or 2010 installed, for purposes of this
  article, Microsoft Visual Studio .NET 2010 will be used. However this can be run in Microsoft
  Visual Studio .NET 2005 or 2008 as well.

  Note: If you are using Visual Studio 2010 you must use Oracle Developer Tools or

- Please note it is not necessary to have a Visual Studio Project created to perform these steps.

  This example uses:
  * ODAC 11.2 Release 3 and Oracle Developer Tools for Visual Studio ( which can be
     downloaded from:


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.