Tag Archives: edmx

Transposing Entity Framework EDMX to Code First

Not so long ago we’ve been turning our Entity Framework usage from the “database project + edmx” approach to the “Code First” way. Why did we do that? Because of the pain at deployments when not having “Entity Framework Migrations”. … Continue reading

Rate this:

Posted in Technical Interest | Tagged , , , , | Leave a comment

Entity Framework TPT (Table per Type) hierarchy database generated option

I’m moving now from edmx to code first approach. When implementing table per type inheritance I got an exception telling me the following: DatabaseGeneratedOption = Identity conflicts with DatabaseGeneratedOption = None. It took a few minutes to recognize that the deriving … Continue reading

Rate this:

Posted in Uncategorized | Tagged , , , , | Leave a comment