... | ... | @@ -3,7 +3,7 @@ |
|
|
|
|
|
**Models**
|
|
|
- Store all business class data models under **\<ProjectName\>.Business/Models**
|
|
|
- Store all Kentico generated classes under **\<ProjectNam\e>.Business/Models/Generated**. No need to create subfolders unless the number of models is greater than 20, then logically group them in subfolders.
|
|
|
- Store all Kentico generated classes under **\<ProjectName\>.Business/Models/Generated**. No need to create subfolders unless the number of models is greater than 20, then logically group them in subfolders.
|
|
|
- No need to add Dto in the class name, example **HomePage**, not ***HomePageDto***
|
|
|
- Name the model class the same as the Kentico Generated class, you just have a different namespace
|
|
|
- Kentico Generated Class: **CMS.DocumentEngine.Types.\<ProjectName\>.HomePage**
|
... | ... | |