When using SPMetal to generate entity classes, these classes are used in LINQ to SharePoint queries.
We have a project with content type and list definitions and one project with business logic which use the generated entity classes. But in an automated build approch what is the best way to make sure that we always have updated entity classes after a change in a content type and list instance?
I am thinking of making a "Post-build event" command in the Content Type and List definition project.