HORK Sample: HORK entity classes

Once you have run HORKTemplateGenerator to output your HORK entity classes, you will see that we have a set of Entities and Loaders for each table in the Downwind database:

HORK Entity classes

HORK Entity classes will contain properties that match the columns in the related table. Here is what our Address entity looks like:

All entities contain the same action methods to facilitate searching and CrUD operations, as well as a Metadata property. These entity methods are exposed via HORKEntityBase, which all HORK entities extend:

HORK Loader classes

HORK Loader classes allow entities to be loaded or queried: