|
From: Steve B. (JIRA) <nh...@gm...> - 2011-05-29 19:11:40
|
[ http://216.121.112.228/browse/NH-2750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Bohlen reassigned NH-2750:
--------------------------------
Assignee: Steve Bohlen
> NHibernate Listeners Configuration Improvement
> ----------------------------------------------
>
> Key: NH-2750
> URL: http://216.121.112.228/browse/NH-2750
> Project: NHibernate
> Issue Type: Improvement
> Components: Core
> Affects Versions: 3.2.0Alpha1, 3.2.0Alpha2, 3.2.0Alpha3, 3.2.0Beta1, 3.2.0CR1
> Reporter: Stefan Sedich
> Assignee: Steve Bohlen
> Attachments: lambda-listeners.patch
>
>
> I was looking at the new configuration (which I do quite like) in NH 3.2, but noticed the lambda based configuration does not
> allow a nice way to configure listeners, I have created a patch fort his and attached it to the email, the new configuration would now be possible like so:
> new Configuration()
> .DataBaseIntegration(db =>
> {
> db.Dialect<MsSql2000Dialect>();
> db.BatchSize = 15;
> })
> .Listeners(l =>
> {
> l.AppendListener(ListenerType.Load, new FooListener());
> });
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|