26 Jan
2012

SqlBulkCopy for Generic List<T> (useful for Entity Framework & NHibernate)

A common complaint of the Entity Framework is slow insert times for larger datasets. Last night I was trying to insert a catalog of 15k products and it was taking a very long time (I gave up after 5 minutes). I recalled this post a while back from Mikael Eliasson demonstrating SqlBulkCopy using .NET. I […]

Read More
13 Apr
2011

Using VSDBCMD to deploy an Entity Framework (EF) CodeFirst (or any other) database to AppHarbor

If you?ve taken the jump to try out the new Entity Framework Code First and you?re allowing it to generate your database for you, you?ve most certainly run into the lack of migrations/updating existing schema support. Currently EF Code First will only create a database and won?t update a database with changes necessary to bring […]

Read More
28 Jan
2010

The Entity Framework and the “The invoked member is not supported in a dynamic assembly” exception.

Category:UncategorizedTag: :

When you create an entity model, a few mapping files are created for you; namely .cdsl, .ssdl, and .msl.  Right about now you may be saying to yourself, I don’t see those files anywhere. That is because they are actually stored as a resource in the assembly you created your entity model.  When you create […]

Read More
15 Dec
2009

Unity Extension for Entity Framework POCO Configuration, Repository and Unit of Work

In my previous two posts I talk about simple EF4 mappings and some common abstractions I like to work with for my entity persistence operations. In this post I want to take all of the setup code necessary for EF configuration and registration and encapsulate it along with the standard boiler plate IOC container code […]

Read More
15 Dec
2009

Entity Framework POCO (EF4): Generic Repository and Unit of Work Prototype

In my previous post I demonstrated how to create a simple mapping using the latest EF4 CTP. In this post I will look at how I can customize some infrastructure code in an attempt to align EF POCO ?Code Only? with existing patterns, while potentially increasing reuse and testability. A popular pattern for ORM data […]

Read More

Find me

RSS
Facebook
Twitter
LinkedIn
SOCIALICON
SOCIALICON

Disclaimer

The opinions and content expressed here are my own and not those of my employer.