Questions tagged [unhaddins]

Unofficial addins for NHibernate

5 questions
13
votes
2 answers

What is the best NHibernate session management approach for using in a multithread windows service application?

I have a windows service application that work with multithread. I use NHibernate in data access layer of this application. What is your suggestion for session management in this application. I read about UNHAddins, Is it a good solution?
masoud ramezani
  • 22,228
  • 29
  • 98
  • 151
7
votes
1 answer

Do Fluent conventions break lazy loading? (uNhAddIns)

I have a simple entity class in a WPF application that essentially looks like this: public class Customer : MyBaseEntityClass { private IList _Orders; public virtual IList Orders { get { return this._Orders; } …
Mark Feldman
  • 15,731
  • 3
  • 31
  • 58
2
votes
1 answer

How to group by and order by, with LINQ, NHibernate and uNHAddins

We're building a WPF application, using Oracle database, also using NHibernate and uNHAddins extensions. In a DataGrid, we're trying to get values from a table, with this query LINQ: return (from f in rFConsumption.GetAll() let d =…
Gustavo Gonçalves
  • 528
  • 1
  • 12
  • 33
0
votes
1 answer

WCF service + NHibernate: how to handle the session?

I am writing a wcf service and i wanna use NHibernate for the data access objects. My doubt is about how would be the best approach to handle the nh's sessions. I've been reading about the topic and seems like per call is the best way, also i found…
elvin
  • 961
  • 1
  • 9
  • 26
0
votes
1 answer

How i can do to connect to different db's in different machines with nhibernate and unhaddins?

I'm trying to connect with nHibernate and Unhaddins in different machines , each has a database in Oracle. They have different tables with different database. I'll need to read a table, let's call it as C_SM_SEND. Inside this Table, I have a…
Gustavo Gonçalves
  • 528
  • 1
  • 12
  • 33