The entity a ForeignKey or NullableForeignKey attribute references, read from its declared type: Customer for ForeignKey<Customer>, and DynaRecord for a bare ForeignKey. Resolves to never for a value that is not a foreign key.
Customer
ForeignKey<Customer>
ForeignKey
never
The attribute's declared type.
The entity a ForeignKey or NullableForeignKey attribute references, read from its declared type:
CustomerforForeignKey<Customer>, and DynaRecord for a bareForeignKey. Resolves toneverfor a value that is not a foreign key.