I want my foreign key to be mapped to a single object and not a collection
Say you have two tables: Teams and Registrations
Registration has a foreign key for Teams :
In Subsonic 3, the Registration class will have a property called “Beach_Teams” which returns a IQueryable<Beach_Team> collection.
If we look at the generate class in the activerecord.cs file, there is a “Foreign Keys” region which contains the Beach_Teams property:
#region ‘ Foreign [...]
More »




