NPersistence Reference Guide
The PrimaryKeyJoinColumn type exposes the following fields.
Fields
Public Protected | Instance Static | Declared Inherited | XNA Framework Only .NET Compact Framework Only |
Member | Description | |
---|---|---|
ColumnDefinition | (Optional) The SQL fragment that is used when generating the
DDL for the column. This should not be specified for a
OneToOne primary key association.
Defaults to the generated SQL to create a column of the
inferred type.
| |
Name |
(Optional) The name of the primary key column of the current table.
Defaults to the same name as the primary key column
of the primary table of the superclass (JOINED mapping strategy); the same
name as the primary key column of the primary table
(SecondaryTable mapping); or the same name as the
primary key column for the table for the referencing entity
(OneToOne mapping).
| |
ReferencedColumnName |
(Optional) The name of the primary key column of the table
being joined to. Defaults to the same name as the primary
key column of the primary table of the superclass
(JOINED mapping strategy); the same name as the
primary key column of the primary table
(SecondaryTable mapping); or the same name as the
primary key column for the table for the referencing entity
(OneToOne mapping).
| |
tableRef |
(Optional) Only required when this PrimaryKeyJoinColumn belongs to a SecondaryTable annontaion.
If populated, this PrimaryKeyJoinColumn represetns a column that is used to join with
the primary table.
Defaults to the column(s) of the same name(s)
as the primary key column(s) in the primary table.
|