Entity Framework 4: Drastic performance problems with global BaseClass -



Entity Framework 4: Drastic performance problems with global BaseClass -

as proof of concept i've changed model every entity derives abstract base of operations class "trackableentity". seemed work fine in beginning. while testing, i've encountered severe performance problem when lazy-loading simple navigation-property of entity. first time association called in context takes 10 seconds load related entity (from table 5 entries!!). test system, there total of 100 entries in whole database.

any ideas?

thanx.

you're running under debugger, right? if so, manually pause , display stack. grab in act, , problem on stack. might want repeat few times, create sure. here's why works.

performance entity-framework

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -