() yöntemi ben hata? Ben App_Start üzerinde MVC projesinde miniprofiler kullanıyorum
MiniProfilerEF6.Initialize()
çağırmak ve ben hatayı alıyorum:
the Entity Framework was already using a DbConfiguration
instance before an attempt was made to add an 'Loaded' event handler.
'Loaded' event handlers can only be added as part of application start
up before the Entity Framework is used. See http://go.microsoft.com/fwlink/?LinkId=260883 for more information.
Sorunuz için daha iyi etiketler eklemelisiniz. Bence bu C# yeterli değil. – batmaci
kodunuzun bir yerinde, DB'nize erişmeye çalışıyorsunuz ancak DB –