ForeignKey

Models a foreign key.

Namespace:
KpokEntityTool.Models
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
System.Object
Implements:
System.IEquatable{KpokEntityTool.Models.ForeignKey}, System.ComponentModel.INotifyPropertyChanged

Constructors

ForeignKey

Default constructor

Signature:
public Void ForeignKey()

Events

Type Name Summary
PropertyChangedEventHandler PropertyChanged Notify that a property was changed.

Properties

Columns

Columns of the foreign key.

Signature:
public ForeignKeyColumnCollection Columns { get; set; }

Description

Foreign key description.

Signature:
public String Description { get; set; }

Name

Foreign key name.

Signature:
public String Name { get; set; }

OnDelete

Referencial action to execute on delete.

Signature:
public ReferentialAction OnDelete { get; set; }

OnUpdate

Referential action to execute en update.

Signature:
public ReferentialAction OnUpdate { get; set; }

ReferencedTableName

Name of the referenced table.

Signature:
public String ReferencedTableName { get; set; }

ReferencedTableSchema

Schema of the referenced table.

Signature:
public String ReferencedTableSchema { get; set; }

Methods

Equals

Checks whether other is equals to this object.

Signature:
public Boolean Equals(other)
Returns

true if the objects are equals.

Parameters
Name Type Summary
other ForeignKey Object to compare.

Equals

Checks whether obj is equals to this object.

Signature:
public Boolean Equals(obj)
Returns

true if the objects are equals.

Parameters
Name Type Summary
obj Object Object to compare.

GetHashCode

Not required, implemented to avoid warnings.

Signature:
public Int32 GetHashCode()

ToString

Returns a textual representation of this object.

Signature:
public String ToString()