yes. i got it at the end. There was a problem with the nhibernate
configuration. thx
On May 4, 7:44 am, Tuna Toksoz wrote:
> BTW, what do you mean by nhibernate properties? connection string etc?
>
>
>
> On Mon, May 4, 2009 at 12:05 AM, Yannis wrote:
>
> > whats hte point then? i want to config
BTW, what do you mean by nhibernate properties? connection string etc?
On Mon, May 4, 2009 at 12:05 AM, Yannis wrote:
>
> whats hte point then? i want to configure nhibernate properties
> programmatically
>
> On May 2, 5:17 pm, Tuna Toksoz wrote:
> > Please have the configuration for the facili
Wait until my laptop returns from the repair.
On Mon, May 4, 2009 at 12:05 AM, Yannis wrote:
>
> whats hte point then? i want to configure nhibernate properties
> programmatically
>
> On May 2, 5:17 pm, Tuna Toksoz wrote:
> > Please have the configuration for the facility in xml and set the
> >
whats hte point then? i want to configure nhibernate properties
programmatically
On May 2, 5:17 pm, Tuna Toksoz wrote:
> Please have the configuration for the facility in xml and set the
> ConfigurationBuilder in the xml, and in the IConfigurationBuilder set the
> properties as you wish.
>
> Tun
Please have the configuration for the facility in xml and set the
ConfigurationBuilder in the xml, and in the IConfigurationBuilder set the
properties as you wish.
Tuna Toksöz
Eternal sunshine of the open source mind.
http://devlicio.us/blogs/tuna_toksoz
http://tunatoksoz.com
http://twitter.com/t
anyone???
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To post to this group, send email to castle-project-users@googlegroups.com
To unsubscribe from this group, send email to
castle-
Well i figured out the code after i posted but it still doesnt work
and I cant figure out why. My code follows. Although i generate an
nhibernate configuration in a different class i am still trying to set
the dialect explicitly (as shown below) but it still doesnt work.
NHibernateFac
This feature is getting more and more demanded.
I'll give it a go, making it work without configuration business, and if one
wants to go further (such as configuring sessionfactory, I'll leave it to
anther tool such as FNH.
Victor's code will work for you, too.
Tuna Toksöz
Eternal sunshine of the
var facility = new MutableConfiguration("facility");
// isWeb indicates to facility wee are in web context, so it'll use
SessionWebModule httpModule
// to setup session context for the duration of web request
facility.Attribute("isWeb", "true").CreateChild("factory").Attribute("id",
"nhibernate.f
Sorry I didnt write the way I meant to. I want to programmatically
create an nhibernate facility.
Currently I have a class that implements IConfigurationBuilder that as
follows:
public class NHibernateConfigurationBuilder : IConfigurationBuilder
{
#region IConfigurationBuilder Member
Adding NHFacility for injecting to a service constructor? why?
Tuna Toksöz
Eternal sunshine of the open source mind.
http://devlicio.us/blogs/tuna_toksoz
http://tunatoksoz.com
http://twitter.com/tehlike
On Thu, Apr 30, 2009 at 12:32 AM, Yannis wrote:
>
> is there any way to add an nhibernat
hi all,
is there any way to add an nhibernate facility programmatically and
associate it with a service constructor?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To post to th
12 matches
Mail list logo