Add data to M:N readonly collection for testing

Posts   
 
    
Posts: 98
Joined: 09-Feb-2005
# Posted on: 21-Sep-2009 06:14:40   

I realize this isn't the sort of thing you'd want to allow generally, but is there a backdoor way to add items to a readonly collection that is generated from M:N relationships? I'm trying to mock my persistence layer, and need it to look the way it would after loading w/ a prefetch. Any suggestions? Thanks -Jeff

Posts: 98
Joined: 09-Feb-2005
# Posted on: 21-Sep-2009 06:20:47   

Poor job of searching on my part. The answer to my question is here: http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=14621&HighLight=1