Hi,

the WithElement-Option ist not valid. 

HasMany(x => x. MyListOfStrings).AsElement("foo") would be my only option.

I get a MySql.Data.MySqlClient.MySqlException: Table 'foo' doesn't exist
while running this piece of code.



-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of James Gregory
Sent: Montag, 9. Februar 2009 14:13
To: [email protected]
Subject: [fluent-nhib] Re: Mapping simple datatypes via fluent nhibernate


HasMany(x => x.MyListOfStrings)
  .WithElement("string column name")

This is from memory so it may not be exact.

On 2/9/09, Tom Warnat <[email protected]> wrote:
>
> Hi,
>
> i've tryed to map a list of string via fluent nhibernate lately and i
> can't get it to run.
>
> So googling for 8 hours on friday i'll take my shoot here.
>
> Can anyone tell me to map a simply a List<string>? Furthermore how get
> fluent nhibernate to automatically create the relation for the list
> (which is basically my problem)?
>
> thanks in advance.
>
> >
>





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" 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/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---


Reply via email to