so lets say we use some query in mvc.net, i'm in the action method of a controller, and i've decided that session management would be by-action. somehow i need to make sure that the repository gets a new session. does that mean:
create newsession var result = new ObjectARepo(newsession).PerformQuery(..) On Sun, Apr 5, 2009 at 12:10 AM, Tuna Toksoz <[email protected]> wrote: > Even if I use Linq, I would put the stuff in Repository. > > > Tuna Toksöz > Eternal sunshine of the open source mind. > > http://devlicio.us/blogs/tuna_toksoz > http://tunatoksoz.com > http://twitter.com/tehlike > > > > > On Sun, Apr 5, 2009 at 12:08 AM, Dotan N. <[email protected]> wrote: > >> ve to create a method in my object X repository that builds a criteria and >> does that, right? >> in other words, every nontrivial fetching of data gets a method in the >> repository.. or must i use a repository at all? >> >> what do people usually do? >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
