Questions about NHibernate-related Facilities and Services

2009-03-06 Thread Maximilian Raditya
Hi all, I'd like to ask a couple questions: 1. System.Data.*IsolevelLevel* has a *Snapshot *member, but Castle.Services.Transaction.*IsolationMode *has no matching equivalence. Why is that meant so? 2. About Castle.Services.Transaction, what am I supposed to do to set *IsolationMode

Windsor - Using embedded resource configuration file

2009-03-06 Thread chitech
Is it possible to make a instance of WindsorContainer with a xml contents as parameter. The windsor configuration file is a embedded resource and I would like to do something like this: public static string GetResource(string resourceName) { var assembly =

Re: Windsor - Using embedded resource configuration file

2009-03-06 Thread Ayende Rahien
I think you can do that using an XmlInterpreter that takes a stream On Fri, Mar 6, 2009 at 4:31 AM, chitech khuon...@gmail.com wrote: Is it possible to make a instance of WindsorContainer with a xml contents as parameter. The windsor configuration file is a embedded resource and I would like

Re: Windsor - Using embedded resource configuration file

2009-03-06 Thread Craig Neuwirt
You can also use the XmlInterpreter that takes an IResource and use the AssemblyResource instance On Fri, Mar 6, 2009 at 7:14 AM, Ayende Rahien aye...@ayende.com wrote: I think you can do that using an XmlInterpreter that takes a stream On Fri, Mar 6, 2009 at 4:31 AM, chitech

AR Error WebThreadScopeInfo: Could not access HttpContext.Current

2009-03-06 Thread Gabriel Mancini de Campos
Hi evey one, I Have this senario, When the user abandon my application, i need do some updates in my base. in this moment show me this error. My Confis is in a object, because i need change some configurations in run-time. in Web.config add name=ar.sessionscope

Re: Bug in documentation for Validation Component?

2009-03-06 Thread Flominator
I just submitted a patch to fix this issue at the docs. On 20 Feb., 16:15, David Driscoll driscoll.dav...@gmail.com wrote: I implemented a basic domain object where the properties have Validator attributes see below for example: using System; using System.Collections.Generic; using

Re: Private setters for Ids

2009-03-06 Thread Flominator
http://support.castleproject.org/projects/AR/issues/view/AR-ISSUE-237 Thanks. Do you want me to help with the id thing? On 3 Mrz., 16:55, Markus Zywitza markus.zywi...@gmail.com wrote: I added it to the documentation issue at donjon. -Markus 2009/3/3 Flominator flomina.@gmx.net: