nhibernate-core
nhibernate-core copied to clipboard
NHibernate Object Relational Mapper
`var alreadyStored = await session.Query().Where(h => h.User == user).ToListAsync();` The `user`, in this case, is an entity previously persisted via `session.Persist` in the same `session`. The exception is : Unable...
SchemaUpdate uses the connection directly to create a Command bypassing any opportunity to set the CommandTimeout (or any other settings). Any command taking longer than the default value (30 seconds...
**Ricardo Peres** created an issue — 22nd October 2014, 12:57:23: > We should document mapping by code: > - ClassMapping class > - Model mappers > - Model inspectors >...
Currently, NHibernate/ReLinq queryable implementation relies on expression compilation to partially evaluate expressions. As previously noted in #2947, this is quite costly when used on hot paths. We also observe this...
**ergatech** created an [issue](https://nhibernate.jira.com/browse/NH-3733) — 31st October 2014, 15:37:12: > I can update schema use SchemaUpdate on SQLSever 2012 but I can not update schema on MySQL with same code....
We constantly fix and patch bugs and limitations of the re-linq in our code base often duplicating the code from re-linq project. It become apparent that over these years NHibernate...
Using future queries is a nice easy way to improve data access performance. It would be great if there was an overload for `NHibernateUtil.Initialize()` that accepted multiple proxy objects at...
Example: https://github.com/iatsuta/nhibernate-core/tree/bugs/invalid-keyword-quoting Test: QuotingFaultTest Line: `var data1 = session.Query().ToArray();` will throw an exception if you change the hbm order in a line: protected override string[] Mappings { get { return...
Consider the following code: ```C# var oldOneToOne = entity.OneToOne; entity.OneToOne = newOneToOne; session.Flush(); ``` `entity.OneToOne` is `one-to-one` mapped with `all-delete-orphan`. The code above should delete orphaned `oldOneToOne` and insert new...
It used to be possible to provide an enum as a parameter for HQL queries where a criterion using that parameter matches on a string column. I know that there...