Showing posts with label EF5. Show all posts
Showing posts with label EF5. Show all posts

Saturday, January 29, 2011

How to set CommandTimeout in EF5

var objectContectAdapter = this.DbContext as IObjectContextAdapter;
objectContectAdapter.ObjectContext.CommandTimeout = 120;