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