The nhibernate tag has no wiki summary.
2
votes
2answers
175 views
NHibernate and complex domain model against a legacy database
I'm trying to refactor (actually, rewrite) an application which currently uses only stored procedures to access the database (hundreds of SPs). My goal is to use Nhibernate and follow a good design as ...
3
votes
1answer
127 views
What specific features of NHibernate cause it to be recommended for legacy database systems?
So, I've been evaluating Entity Framework and NHibernate (I'm not looking for an EF vs. NH battle here, though!).
One thing that I see come up very often is that NHibernate is recommended for ...
-1
votes
2answers
194 views
What is the origin/meaning of the name 'NHibernate'?
Been poking around the web because I was curious as to why they called it that but haven't found anything yet. Anyone know?
(I checked the FAQ and it wasn't clear if questions on history/origins were ...
0
votes
2answers
137 views
In OnionArchitecture can UI talks directly to datastore or not?
I'm fan of onion architecture but looking for some relaxing solutions in some areas.
First of all I was thinking about communicating directly from UI (from controller in mvc) to data on the read ...
1
vote
0answers
161 views
Why should I use Iesi.Collections instead of the traditional System.Collection?
Was research on how (for convetion) define a Many Many where table where both fields are primary key and found this post.
So decide to install the Iesi.Collections in my library domain.
But there ...
1
vote
0answers
363 views
.NET software design and Oracle ODP.NET UDT
I'm working on a new common .NET software design (mainly) for WCF-based web service applications with related client frontends (all written in C#). As far I've chosen some frameworks ...
4
votes
1answer
120 views
Should I Use an ORM only when dealing with Data Model objects?
I am new to ORM, and we started developing a new system using NHibernate as the ORM.
I think this question may refer to any ORM and any language/platform.
The Team Leader has said we should use ...
1
vote
1answer
304 views
A multi tenant data architecture
We are at a planning & redesign stage of our loyalty card application. As it is understood it will be a multi-tenant application. And I need to take your thoughts. Here are the some key points we ...
2
votes
1answer
150 views
Testing controller logic that uses ISession directly
I have just read this blog post from Jimmy Bogard and was drawn to this comment.
Where this falls down is when a component doesn’t support a given
layering/architecture. But even with ...
1
vote
1answer
336 views
Abstraction Layer over ORM Generated Entities
I am learning LINQ to SQL (and planning to learn Entity Framework). Initially I used a abstraction layer to convert LINQ to SQL entities into a domain objects. Later I discovered the “Inheritance ...
1
vote
2answers
827 views
What are the best practices to use NHiberante sessions in asp.net (mvc/web api) ?
I have the following setup in my project:
public class WebApiApplication : System.Web.HttpApplication
{
public static ISessionFactory SessionFactory { get; private set; }
public ...
1
vote
1answer
238 views
Is it ok to call external services or database inside the entity
I have "logic engine" which executes set of user configured steps. These steps are saved in the database as "Step" entities. The engine gets the first step and then executes steps until there are no ...
4
votes
3answers
3k views
DDD with ORM where should the business logic go?
I have used an MDA (model driven architecture) tool in the past where we modeled via UML and this generated the business entities (our domain model) and the ORM (mapping etc) amongst other things.
A ...
2
votes
3answers
221 views
Offline data that will need imported later
My existing application is a .NET 3.0 winform app that talks to a WCF service which in turn updates a MS SQL Server database; I can make changes at all spots (Windows client, WCF, server). I've had an ...
10
votes
2answers
2k views
Why is the Repository pattern needed in NHibernate?
I am reading the official Your first NHibernate based application.
While the tutorial is good and easy to follow, I am wondering why the Repository pattern is used.
In the various Add, Update, ...