nhibernate-3 Questions
3
Solved
I've read all the posts and know that IndexOutOfRange usually happens because a column is being referenced twice. But I don't see how that's happening based on my mappings. With SHOW_SQL true in th...
Rote asked 21/5, 2012 at 16:35
3
Solved
I can see what's new and fixed in NHibernate 4.0
I would like to know if anyone has had issue with hbm mappings upgrading from NHibernate 3 to 4?
I fear that more focus is going on fluent mapping...
Disrepute asked 22/8, 2014 at 15:30
4
Solved
In NHibernate 3.0, FlushMode.Auto does not work when running under an ambient transaction only (that is, without starting an NHibernate transaction). Should it?
using (TransactionScope scope = new...
Yard asked 3/3, 2011 at 23:19
4
Solved
I have a Windows Service Application
in which i create WCF services in it.
One of the services is data
services: add, delete,
read , updatte data via
WCF.
WCF use NHibernate for data manipulation
...
Rosie asked 22/3, 2011 at 13:47
1
Solved
I have this tables:
Person -> PersonFavorites, PersonCompany
PersonCompany -> Company
I have now to do the following select with NHibernate and QueryOver:
select * from Person
inner joi...
Greatest asked 29/9, 2012 at 10:50
1
Solved
I'm trying to do the equivalent of this SQL Code
SELECT
ID
SUM(CASE WHEN myProperty = 2 THEN 1 ELSE 0 END) as nbRowWithValueOf2,
SUM(CASE WHEN myProperty = 3 THEN 1 ELSE 0 END) as nbRowWithValueO...
Aspic asked 19/3, 2012 at 16:52
2
Solved
I'm trying to learn NHibernate 3.2 built-in mapping by code api (NOT FluentNHibernate, nor xml). Can you help me to map a many-to-many relationship between these entities please?
public class Post...
Melmela asked 5/3, 2012 at 20:15
2
Solved
Does ToFuture works with nhibernate linq? If so, how do you use it?
Farra asked 30/3, 2011 at 15:26
1
Solved
In NHibernate 3.1, ISession.SaveOrUpdateCopy() has been marked as deprecated. The documentation suggests using Merge() instead. The documentation for each is as follows:
SaveOrUpdateCopy(object ob...
Cloakanddagger asked 4/8, 2011 at 14:49
1
Solved
I've recently moved from using an ISession directly to a wrapped ISession, Unit-of-Work type pattern.
I used to test this using SQL Lite (in-memory). I've got a simple helper class that configure...
Mangle asked 6/5, 2011 at 16:38
2
Solved
I need help with eager loading in with Linq in NHibernate 3 trunk version.
I have a many-to-many relationship like this:
public class Post
{
public int Id {get;set;}
public IList<Tag> Ta...
Smithsonite asked 15/1, 2010 at 21:57
1
© 2022 - 2024 — McMap. All rights reserved.