Why doesn't DomainContext from WCF RIA Services implement the IDisposable pattern ?
Posted
by Scott Davies
on Stack Overflow
See other posts from Stack Overflow
or by Scott Davies
Published on 2010-06-14T19:51:02Z
Indexed on
2010/06/14
21:12 UTC
Read the original article
Hit count: 346
Hi,
Just doing some work with RIA services and I see in the MSDN documentation that neither it or any parents up its' hierarchy implement IDisposable. I'm wondering what the design decision was for this...as DomainContext is a stateful resource, wouldn't it be nice to have a Dispose() to release it when done ?
Thanks,
Scott
© Stack Overflow or respective owner