XDATA - AURELIUS - DATA MODELER missing field in entities used for foreign keys. (old post)

If you mean mapping CountryID database column to Integer field instead of TCountry, it's possible. But you will lose the Aurelius mechanism of doing joins and retrieving all the associated columns from Country table (and any other foreign key table).

You can also declare all associations are Proxy<T> and which that you have direct access to the foreign key values using Proxy.Key, as explained here: How Load, Proxy<T>.Key