In the previous post The Model Factory , I mentioned a couple of methods on the ModelFactory class that can be used to resolve partial models. But first, what are partial models? The way DD4T publishes linked Components depends on a parameter LinkLevels on the TBB Generate dynamic component . This parameter indicates the number of levels to follow Component Links and to generate additional models for them. Its default value 1 means that only one level of Component Links will be followed starting with the current Component that is being published and this linked Component will only be published as a collection of metadata, while the Fields and MetadataFields collections are empty. These are partial models, because they contain only some information about the Component. When to use higher values for LinkLevels and when not? If we increase the LinkLevels, the original Component model will contain models for all linked Components. This is very convenient when hopping from one
talk is cheap. show me the code.