public MyContext() : base(ContextHelper.CreateConnection("my connection string"), true) { ((IObjectContextAdapter)this).ObjectContext.CommandTimeout = 300; }
public MyDatabase() : base(ContextHelper.CreateConnection("Connection string"), true) { ((IObjectContextAdapter)this).ObjectContext.CommandTimeout = 180; }