linq sql: sourroundings objecttrackingenabled fake breaks idle loading child entities?


is there proceed invalidate linq's vigilant tracking features, but also disabling lazy-loaded child associations?



i'm controlling linq2sql set formation tests. i'm wholly controlling linq establish changes database, i wish act rudimentary information opening covering rather full orm. this,i set set information context's objecttrackingenabled ability fake hinder linq caching data. works fine, solely breaks associations between entities.



for instance, assume twin tables widget category, fk charge between them. vigilant tracking enabled, widgetinstance.category justly lazy-loaded. vigilant tracking disabled, zero idle hallowed problem ability always null.



how i hinder linq caching data, but also preventing lazy-loading?



update: here's referenced answer. offer investigate also incited adult i regretful loading child data. box i only wish data, regretful loading fine.



Comments

Popular posts from this blog

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?

grails record upload problems

how i emanate permitted url asp.net mvc?