First of all let me apologize for the length of this article, it is mainly code, so I hope you all bear with me!
I have a scenario dealing with a legacy database, I need to write an IUserType
First of all let me apologize for the length of this article, it is mainly code, so I hope you all bear with me!
I have a scenario dealing with a legacy database, I need to write an IUserType
I am new to nhibernate and need your help.
How to execute this sql query in nhibernate-criteria C#
select * from
(
select *, row_number() over (partition by questionaireId order by ste
I have a problem updating the collection of components on the entity. It was originally mapped as a package, but this resulted in deleting and reinserting all entries every time. Change it to a gro
How to map nullable value type attributes to components in NHibernate?
For example:
public struct PersonName
{
public string FirstName {get; private set; }
public string LastName {get
When viewing NHProfiler, I received the following warning after submitting the transaction:
Fail safe cleanup (collection): NHibernate.Engine.Loading.CollectionLoadContext
I have no ide
Is there a way for NHibernate to clone an existing object (retrieved by nhibernate) and insert it to create a new record instead of updating the current object.
We use it to do some time vers
Currently my repository has 2 constructors. When I call these from my mvc website, I always call the first constructor, thus opening a new session .Should I pass it at the meeting? What should I do
I have been trying to execute the following T-SQL in NHibernate QueryOver, but without success:
SELECT Id, SUM (CASE MyValue WHEN 1 THEN Volume ELSE Volume * -1 END)
FROM MyTable
GROUP BY Id
I am trying to write a query that returns randomly sorted results. I found this article Linq Orderby random ThreadSafe for use in ASP.NET gave me some basic clues how to do this. But I get the foll
The project I’m working on requires the data in our system to be synchronized with the data in another system (the other system is very popular, which is why synchronization is so important). Howev