Use a list (instead of a bag/set).
-Original Message-
From: Inna
Sent: Thursday, June 02, 2011 4:45 PM
To: nhusers
Subject: [nhusers] custom sort order by position
Hi
I was wondering if it is possible to set the sort order by position
using nhibernate. The position of an item is
You mean HQL updates and deletes? If not, there's no difference in how an
update or delete is performed.
/G
2011/6/3 Kasi mbk...@gmail.com
Hi,
I would like to check whether HQL queries fire event listeners such as
IPreUpdateEventListener,IPreDeleteEventListener, etc...
I have been using
Seconded
On May 31, 9:05 am, Nick nick.cu...@gmail.com wrote:
Thanks - I was looking for this too.
It would be nice if the source code for the bytecode providers were
anywhere more accessible (assuming they're not going to be deprecated)
- perhaps in the NH Contrib repo (or in their own
Awesome. I think the proposed fix has a typo tho:
public static bool IsProxyFactoryConfigurated()
{
var f =
NHibernate.Cfg.Environment.BytecodeProvider.ProxyFactoryFactory;
return f != null;// instead of true != null
Correct; these 'events' are tied to the Session's actions when its
flushed/interacts w the DB. The choice of query API doesn't have any effect
on the way these events are raised (and reacted to by your listeners).
-Steve B.
--
You received this message because you are subscribed to the
Hi,
does anybody knowns when will Left Outer Join be implemented?
ie the following query does not work it throws not implemented
exception:
var query = (from p in Session.QueryPerson()
join pa in Session.QueryPersonAddress() on p.Id equals
pa.PersonId into tempAddresses
from addresses in
Looks like the problem is related to TypeMock. Even if it is not
referenced in my project. But if I disable it everything works
fine
--
You received this message because you are subscribed to the Google Groups
nhusers group.
To post to this group, send email to nhusers@googlegroups.com.
To
There are a couple of small details with that post that I've found,
hope this will help you:
1) ReflectionHelper.GetMethod() is actually
ReflectionHelper.GetMethodDefinition()
2)
configuration.LinqToHqlGeneratorsRegistryMyLinqToHqlGeneratorsRegistry()
is an extension method, so you will have to
Hi, i posted yesterday my question on stackoverflow but there nobodoy
answered me. Therefore i try here;)
If someone want see formated question here is my post:
http://stackoverflow.com/questions/6219921/populating-entities-from-stored-procedures-with-nhibernate-could-not-execute-qu
Today I
Everything I've read would lead me to believe that what I'm seeing
shouldn't happen, but alas it is, and I don't know why, or if it's
'fixable'.
Suppose I have the following entities:
- Customer
- Ticket
-- IListNote
-- IListReminder
I have a query that returns all Tickets for a given
could someone please direct me to the best source of online
documentation as to how to create a new table through nhibernate?
I've got my C# class created:
*
namespace StyleApplication.Data.Models
{
public class StyleImport :
in addition (and contrary to the above behavior)
I'm seeing that if I load a given Ticket, then add a Note to it, then
re-query for the Ticket .. the entire Ticket is loaded from the cache,
WITHOUT the new note.
What am I doing wrong?
On Jun 3, 1:48 pm, fel0niousmonk fel0ni...@gmail.com
Thank you very much Miguel
it helped a lot
On Jun 3, 8:55 pm, murki murk...@gmail.com wrote:
There are a couple of small details with that post that I've found,
hope this will help you:
1) ReflectionHelper.GetMethod() is actually
ReflectionHelper.GetMethodDefinition()
2)
http://nhforge.org/doc/nh/en/index.html#toolsetguide-s1
On Jun 3, 2:21 pm, scottl2001 scottlackey2...@yahoo.com wrote:
could someone please direct me to the best source of online
documentation as to how to create a new table through nhibernate?
I've got my C# class created:
Hi,
Is it possible to query named entities using Query or QueryOver (or is
there a hack/workaround available)?
I'd like to have a repository method that returns an IQueryable from a
named entity, but I can't seem to find any overload that accepts an
entity name. The only way I can get it, it
15 matches
Mail list logo