Hi,

I want to do something rather simple, but it gives me an error
"unindexed collection before []"  on my HQL.

I want to list all my node version that have an NodeId = node and that
my Network is in the list NodeNetworkList of my NodeVersion object.

Can anyone help me with this?

My code is the following:


public IList<NodeVersion> GetNodeVersion(Network draftNetwork, Node
node)
{
            IList<NodeVersion> result = _session.CreateQuery("SELECT n
FROM NodeVersion n WHERE n.NodeId = :node AND :draftNetwork in
n.NodeNetworkList").List<Gist.Network.Domain.NodeVersion>();

            return result;
}

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to