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

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

Syntax

Visual Basic (Declaration)
Public Property ReferencedTable As Table
C#
public Table ReferencedTable { get; set; }
Visual C++
public:
property Table^ ReferencedTable {
	Table^ get ();
	void set (Table^ value);
}
JavaScript
function get_referencedTable();
function set_referencedTable(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