nhibernate-core
nhibernate-core copied to clipboard
NHibernate Object Relational Mapper
When using session.Merge on a transient versioned entity which contains collections with children, an additional update statement is run on the DB starting with version 5.5.x to perform a row...
Hello NHiberbate Team, This request pertains to a feature enhancement related to the current implementation of NHibernate and its SessionFactory. I have already outlined our requirements in the [NHUsers thread](https://groups.google.com/g/nhusers/c/dg3OnfrvtXM)...
Following test fails (in `DistinctTests.cs`) ```cs [Test] public void DistinctCountOnComplexAnonymousTypeProjection() { var result = db.Orders .Select(x => new { x.ShippingDate, x.OrderDate }) .Distinct() .Count(); Assert.That(result, Is.EqualTo(774)); } ``` To do...
We just ran into an issue where a reused component class got new properties, but only one of the mapping was updated. This worked fine for the updated location, but...
I am trying to implement a batched delete using NHibernate's LinqToSql (version 5.2.0.0) Code that I would expect to work: ```cs public int DeleteWhere(Expression expression, int? batchSize) { int totalDeleteCount...
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more [here](https://redirect.github.com/renovatebot/renovate/discussions/37842). This PR contains the following updates: |...
I'm staring at the source code and I can't figure out how a null reference exception can happen, but it's happening. Here's the stack of the exception: ``` NullReferenceException: Object...