romiller.com

Program Manager on the .NET team at Microsoft

Skip to content
  • Home
Search

Mapping

EF6.1 Get Mapping Between Properties and Columns

August 5, 2015November 16, 2016 / romiller.com

One of the most popular posts on my blog has been EF6.1 Mapping Between Types & Tables. Someone asked me this week about getting the property/column mapping in addition to the type/table mapping. There isn’t a whole lot to say (other than the code is horrible and this will look a whole lot better in … Continue reading EF6.1 Get Mapping Between Properties and Columns

EF6.1 Mapping Between Types & Tables

April 8, 2014November 16, 2016 / romiller.com

A while back I blogged about how to find what table(s) a given entity is mapped to. The solution in that post worked around the fact that the API for accessing this information was internal. In EF6.1 we made the mapping API public, so it’s now a lot easier. The other advantage of this code … Continue reading EF6.1 Mapping Between Types & Tables

EF Code First Mapping Between Types & Tables

September 24, 2013November 16, 2016 / romiller.com

Starting in EF6.1 there is an easier way to do this. See my new EF6.1 Mapping Between Types & Tables post for details.   Entity Framework includes the MetadataWorkspace which gives you access to the metadata EF keeps about the shape of your model. The problem is that the Mapping section of this – the bit … Continue reading EF Code First Mapping Between Types & Tables

EF CTP4 Tips & Tricks: Mapping to an Existing Database

July 18, 2010November 16, 2016 / romiller.com

This is the third in a series of posts about the recently released Entity Framework Feature CTP4 (AKA “EF Magic Unicorn Edition”). Most of the samples/demos of Code First so far have focused on creating a new database that is generated from a set of classes, however Code First also can be used in scenarios … Continue reading EF CTP4 Tips & Tricks: Mapping to an Existing Database

Blog at WordPress.com.
  • Follow Following
    • romiller.com
    • Join 261 other followers
    • Already have a WordPress.com account? Log in now.
    • romiller.com
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar