ForeignKey

Models a foreign key

Namespace:
Inetdev.Data.DatabaseSchema
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
System.Object

Constructors

ForeignKey

Default constructor

Signature:
public Void ForeignKey()

Properties

Columns

List of columns that conforms the foreign key.

Signature:
public ForeignKeyColumnCollection Columns { get; set; }

Name

Name of the foreign key.

Signature:
public String Name { get; set; }

OnDelete

Referential action to excecute on delete.

Signature:
public ReferentialAction OnDelete { get; set; }

OnUpdate

Referential action to excecute on update.

Signature:
public ReferentialAction OnUpdate { get; set; }

ReferencedTable

Referenced Table name.

Signature:
public TableName ReferencedTable { get; set; }

Methods

ToString

Returns a textual representation of the object.

Signature:
public String ToString()