In this article you will learn how to move Domain Classes Configuration to separate classes.
In the code first approach of entity framework we have two methods to configure the entities: DataAnnotations and Fluent API.
ASP.NET GridView Control Pocket Guide