ProgrammerGuide.Net | Step by Step Programmer Guide

Custom Code-First Conventions In Entity Framework 6 Improved In Visual Studio 2013 | ProgrammerGuide.Net | Step by Step Guide

The new Custom Code-First Conventions enable bulk configuration of a Code First model – reducing the amount of code you need to write and maintain. Conventions are great when your domain classes don’t match the Code First conventions. For example, the following convention configures all properties that are called ‘Key’ to be the primary key of the entity they belong to. This is different than the default Code First convention that expects Id or <type name>Id.
Please click here for related products on Amazon!


Add comment

Want to Check Celebrities News?