Sample model
This model was created from the How to Model in SIM video tutorial. Please watch that video for more information.
This section shows all of the code generated for the following class attribute model:
This section shows all of the code generated for the following class attribute model:
- Table Classes, which is basically a class library that deals with the loading and saving of objects in and out of SQLite.
- Domain Classes, which is where most of your code interacts.
- Factories, which are used primarily by the Table reading mechanism to transform Table instance to Domain instances.
code generation log
Planet
--- Created Table ... 87 lines
--- Created Domain ... 127 lines
Settlement
--- Created Table ... 134 lines
--- Created Domain ... 175 lines
Town
--- Created Domain ... 147 lines
City
--- Created Domain ... 137 lines
District
--- Created Table ... 87 lines
--- Created Domain ... 127 lines
TownTypes
--- Created Enum ... 44 lines
Created Factory ... 134 lines
Total Lines : 1199
--- Created Table ... 87 lines
--- Created Domain ... 127 lines
Settlement
--- Created Table ... 134 lines
--- Created Domain ... 175 lines
Town
--- Created Domain ... 147 lines
City
--- Created Domain ... 137 lines
District
--- Created Table ... 87 lines
--- Created Domain ... 127 lines
TownTypes
--- Created Enum ... 44 lines
Created Factory ... 134 lines
Total Lines : 1199