When mapping SqlInsert\SqlUpdate etc, do really the parameters are
generated in the same order as the properties appear in the mapping file?
I'm a bit confused, because it does not seem to be so.

In my real case I have a class that here for simplicity I will call C
This class has a compositeId that is specified on the top of properties
mapping as
ComponentAsId(x => x.Id, pk => {
  pk.Class<CPrimaryKey>();
  pk.ManyToOne<COwner>("Owner", m => m.Column("col1"));
    pk.Property(x => x.Col2, m => m.Column("col2"));
    pk.Property(x => x.Col3, m => m.Column("col3"));
            });


I have specified the manually SqlDelete as:
 SqlDelete("delete from table1 where col1=? and col2=? and col3=?");

but the delete statement executed by NH invert col1 with col2.
How I'm wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to