Gets or sets the Table that the Foreign Key is referencing.

Namespace: NHibernate.Mapping
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public Table ReferencedTable { get; set; }
Visual Basic
Public Property ReferencedTable As Table
	Get
	Set
Visual C++
public:
property Table^ ReferencedTable {
	Table^ get ();
	void set (Table^ value);
}

Field Value

The Table the Foreign Key is referencing.

Exceptions

ExceptionCondition
NHibernate..::..MappingException Thrown when the number of columns in this Foreign Key is not the same amount of columns as the Primary Key in the ReferencedTable.

See Also