[nhusers] GenerateSchemaCreationScript

2008-12-07 Thread sirrocco
I have the folowing mapping file : hibernate-mapping xmlns=urn:nhibernate-mapping-2.2 default- lazy=false assembly=X namespace=X.Entities class name=Project table=[Project] xmlns=urn:nhibernate- mapping-2.2 id name=ProjectId column=ProjectId type=Int32 generator class=identity /

[nhusers] Re: GenerateSchemaCreationScript

2008-12-07 Thread Ayende Rahien
one-to-one should be one to many On Sun, Dec 7, 2008 at 10:09 AM, sirrocco [EMAIL PROTECTED] wrote: I have the folowing mapping file : hibernate-mapping xmlns=urn:nhibernate-mapping-2.2 default- lazy=false assembly=X namespace=X.Entities class name=Project table=[Project]

[nhusers] Re: GenerateSchemaCreationScript

2008-12-07 Thread sirrocco
But why a one-to-may - I mean one project can be modified by one user , and one user has many projects. - shouldn't it be many-to- one ? And do you know if fluentnhibernate supports a many-to-one mapping ? I couldn't find it anywhere. On Dec 7, 10:13 am, Ayende Rahien [EMAIL PROTECTED] wrote:

[nhusers] Re: GenerateSchemaCreationScript

2008-12-07 Thread Ayende Rahien
yeah, the other way around On Sun, Dec 7, 2008 at 10:40 AM, sirrocco [EMAIL PROTECTED] wrote: But why a one-to-may - I mean one project can be modified by one user , and one user has many projects. - shouldn't it be many-to- one ? And do you know if fluentnhibernate supports a many-to-one

[nhusers] Re: GenerateSchemaCreationScript

2008-12-07 Thread me
And I found the ManyToOne in fluentnhibernate - it's References On Sun, Dec 7, 2008 at 10:42 AM, Ayende Rahien [EMAIL PROTECTED] wrote: yeah, the other way around On Sun, Dec 7, 2008 at 10:40 AM, sirrocco [EMAIL PROTECTED] wrote: But why a one-to-may - I mean one project can be

[nhusers] Re: GenerateSchemaCreationScript

2008-12-07 Thread me
And thanks :). On Sun, Dec 7, 2008 at 10:45 AM, me [EMAIL PROTECTED] wrote: And I found the ManyToOne in fluentnhibernate - it's References On Sun, Dec 7, 2008 at 10:42 AM, Ayende Rahien [EMAIL PROTECTED] wrote: yeah, the other way around On Sun, Dec 7, 2008 at 10:40 AM, sirrocco

[nhusers] Re: GenerateSchemaCreationScript

2008-12-07 Thread Sidar Ok
When I saw me, I freaked out to have sent an empty mail accidentally. wheew ! On Sun, Dec 7, 2008 at 9:45 AM, me [EMAIL PROTECTED] wrote: And thanks :). On Sun, Dec 7, 2008 at 10:45 AM, me [EMAIL PROTECTED] wrote: And I found the ManyToOne in fluentnhibernate - it's References On

[nhusers] Re: GenerateSchemaCreationScript

2008-12-07 Thread Tuna Toksöz
+1. On Sun, Dec 7, 2008 at 10:47 AM, Sidar Ok [EMAIL PROTECTED] wrote: When I saw me, I freaked out to have sent an empty mail accidentally. wheew ! On Sun, Dec 7, 2008 at 9:45 AM, me [EMAIL PROTECTED] wrote: And thanks :). On Sun, Dec 7, 2008 at 10:45 AM, me [EMAIL PROTECTED] wrote:

[nhusers] Re: Serialising a NHibernate Object

2008-12-07 Thread epitka
Would this help you. Check the end of thread. http://groups.google.com/group/nhusers/browse_thread/thread/6fab6f543cf289dd?hl=en# On Dec 6, 2:58 pm, sirrocco [EMAIL PROTECTED] wrote: You could mark the properties XmlIgnore, or NotSerialized so they are ignored. Or - my choice : create some

[nhusers] Re: GenerateSchemaCreationScript

2008-12-07 Thread Ricardo Borges
+ 2. 2008/12/7 Tuna Toksöz [EMAIL PROTECTED]: +1. On Sun, Dec 7, 2008 at 10:47 AM, Sidar Ok [EMAIL PROTECTED] wrote: When I saw me, I freaked out to have sent an empty mail accidentally. wheew ! On Sun, Dec 7, 2008 at 9:45 AM, me [EMAIL PROTECTED] wrote: And thanks :). On Sun, Dec

[nhusers] Re: GenerateSchemaCreationScript

2008-12-07 Thread sirrocco _
Ok , ok - my bad :D. Hopefully it won't happen again. :P On Sun, Dec 7, 2008 at 7:18 PM, Ricardo Borges [EMAIL PROTECTED]wrote: + 2. 2008/12/7 Tuna Toksöz [EMAIL PROTECTED]: +1. On Sun, Dec 7, 2008 at 10:47 AM, Sidar Ok [EMAIL PROTECTED] wrote: When I saw me, I freaked out to have