Merge strategies answer the question: how do I customize generated code without losing my customizations when the code is regenerated? Merge strategies are carried out by classes that implement the CodeSmith.Engine.IMergeStrategy interface. You can create your own merge strategy by implementing this interface.