Duhh I'am so stupid i was doing this in my repository base (i dont
remember why, but it was there)

        public T Get (int primaryKey)
        {
             using (new SessionScope())
             {
                  return ActiveRecordMediator <T>.FindByPrimaryKey
(primaryKey, false);
              }
        }

after i'd deleted the using, it has worked perfectly.... =$


I'm so sorry for wasting your time Markus, and so thankfull with you
for your help.


Again, thank you very much for your time and help Markus.
TrentCioran

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to