public class Ereg_documents : ClassMap<EregDocumentEntity>
{
public Ereg_documents()
{
Table("Ereg_documents");
Id(x => x.Id, "ed_id").Nullable();
Map(x => x.CaseRef, "ed_c_ref").Nullable();
......
......
......
Other Maps
......
.
References(x =>
x.HistoryTask).Columns("ed_ta_code","ed_c_ref").Nullable();
} }
My mapping is above, but I'm getting the dreaded "not enough params in index"
error when writing to the DB... now I know this is due to having me ed_c_ref
column mapped twice - once as a Map() and once in the References().
Are there any suggestions on how this can be done? commenting out the Map just
doesn't insert anything... :/
Help appreciated.
Thank,
Stu
--
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?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.