Gets or sets the name of the foreign key constraint generated for an association. NHibernate will only use the ForeignKey name one the inherited class and Constrained = true.

Namespace: Castle.ActiveRecord
Assembly:  Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0

Syntax

C#
public string ForeignKey{ get; set;}

See Also