Programming Entity Framework: Code First

Programming Entity Framework: Code First

Julia Lerman, Rowan Miller


Take good thing about the Code First facts modeling procedure in ADO.NET Entity Framework, and find out how to construct and configure a version in response to present sessions on your company area. With this concise e-book, you’ll paintings hands-on with examples to benefit how Code First can create an in-memory version and database via default, and the way you could exert extra keep watch over over the version via additional configuration.

Code First offers an alternative choice to the database first and version first techniques to the Entity facts version. research the advantages of defining your version with code, no matter if you’re operating with an current database or construction one from scratch. if you happen to paintings with visible Studio and comprehend database administration fundamentals, this booklet is for you.

  • Learn precisely what Code First does—and does not—enable you to do
  • Understand how estate attributes, relationships, and database mappings are inferred out of your sessions via Code First
  • Use facts Annotations and the Fluent API to configure the Code First information model
  • Perform complex recommendations, resembling controlling the database schema and overriding the default version caching

This ebook is a continuation of writer Julia Lerman’s Programming Entity Framework, well known because the major booklet at the topic.

Show sample text content

Download sample