nhibernate-core
nhibernate-core copied to clipboard
NHibernate Object Relational Mapper
Please see https://github.com/nhibernate/nhibernate-core/issues/3500 for issue
Indexed properties of `DbDataReader` returns a boxed value, which we convert to `Int32` (and then box again, but it is a different story). This is a performance hit and produces...
Hi, I'm running this linq statement, but it's erroring as not all the SQL parameters are being presented to SQL server, I have been debugging through the nhibernate source and...
The following code returns duplicates of a group instead of a list of the first item of each group. ``` .GroupBy(a => a.X) .Select(g => g.OrderBy(y => y.Id).First()) ``` The...
SqlInsert/UpdateBuilder AddColumn overloads taking a value have a SQL injection vulnerability, and have no usage.
Convenience methods to avoid the slightly awkward syntax when doing it manually after calling `ToListAsync`. Async-Generator fails to generate tests for ToDictionaryAsync, not sure why it doesn't get recognized.
https://github.com/nhibernate/nhibernate-core/blob/0c3c705cf46a43e459e539e612c3677bae64ef57/src/NHibernate/Engine/Loading/LoadContexts.cs#L242 I was trying to debug an issue and I noticed these messages in the debug log file. Unless I've misunderstood something it looks like the "located" / "not located"...
Test that explains the intent in #3539
NHibernate ignores Equals implementation on Components when they contain a collection. As a result, it issues an unnecessary DELETE followed by multiple INSERTs. It basically recreates all rows that were...