Hi Ricardo, thanks that solved it - much appreciated!
On Wednesday, May 1, 2013 11:58:37 AM UTC+1, sturdytree wrote:
>
> e.g.
>
> this.Bag(
> r => "privatefieldtomap",
> map =>
> {
> map.Access(Access.Field);
> map.Table("table");
> map.Key(k => k.Column("foreignkey"));
> },
> r => r.Element(m => m.Column("columntomap")));
>
> public SomeType()
> {
> this.Id(p => "privateidfield", Access(Access.Field));
> this.Table("SomeTable");
> this.Property(p => p.SomeProperty);
> }
>
> both throw an exception "expression expected; constant found"
>
> We could do this using xml mapping.
>
>
--
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.