Re: [nhusers] Re: NHibernate 5.2.6 released

2019-09-26 Thread Rein Verberne
What is your target framework? Nhibernate needs net461 (or higher) or netcoreapp2.0 (or higher). Op wo 25 sep. 2019 15:26 schreef Paul McManus : > Could not install package 'NHibernate 5.2.6'. You are trying to install > this package into a project that targets '.NETFramework,Version=v4.0', but >

[nhusers] Log4Net InvalidCast exception is thrown

2014-10-13 Thread Rein Verberne
Hi NHUsers, I run into a exception when using Log4Net with NHibernate. Note that i have found two ways to work around this: 1. Dont call 'XmlConfigurator.Configure();' from global.asax. 2. Remove the line '.Not.KeyNullable()' from Order class mapping. With option 1 we lose logging. With op

RE: [nhusers] Moq NHibernate Session for Unit Testing

2016-08-03 Thread Rein Verberne
Maybe in Setup use It.IsAny and It.IsAny ? -Oorspronkelijk bericht- Van: "sos.de...@gmail.com" Verzonden: ‎3-‎8-‎2016 11:35 Aan: "nhusers" Onderwerp: [nhusers] Moq NHibernate Session for Unit Testing Hi, I am writing the Unit tests against the MVC application, which is based on Nhiber

[nhusers] NHibernate 5 and mapping by code

2018-02-05 Thread Rein Verberne
Yes it is supported and works very well. -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to nhusers+unsubscr...@googlegroups.com. To post to this group, send email to nh

[nhusers] Re: why does nHibernate has so many querying apis?

2018-03-30 Thread Rein Verberne
It's nice to have a choice. For example when the query is dynamic (or even user definable) then you can compose it by combining/nesting various kinds of criterion objects. In LINQ this would require creating expressions at runtime which is a pain. Op donderdag 29 maart 2018 23:01:54 UTC+2 schre

RE: [nhusers] SQL Cluster with fault tolerance

2018-04-10 Thread Rein Verberne
Maybe Polly could help? https://github.com/App-vNext/Polly -Oorspronkelijk bericht- Van: "Juan Segura" Verzonden: ‎10-‎4-‎2018 12:41 Aan: "nhusers" Onderwerp: [nhusers] SQL Cluster with fault tolerance Hello, In my Company we have a SQL Cluster with fault tolerance. It switches the s