0
kicks
ASP.NET MVC 2 – Buddy Classes for your models
Example of implementing buddy classes using the System.ComponentModel.DataAnnotations MetaDataType attribute. Newly supported in ASP.NET MVC 2 CTP 1, buddy classes allow you to decorate references to your generated entity model classes with validation attributes thus preserving the generated model.