ok. i will check in here later on today then. thanks agin

On 11 Sep, 16:30, Tuna Toksoz <tehl...@gmail.com> wrote:
> I will check it sometime today. 10.30 am here now.
>
> Tuna Toksöz
> Eternal sunshine of the open source mind.
>
> http://devlicio.us/blogs/tuna_toksozhttp://tunatoksoz.comhttp://twitter.com/tehlike
>
> On Fri, Sep 11, 2009 at 10:28 AM, Topflysecurity 
> <konnektgra...@gmail.com>wrote:
>
>
>
> > ok. thx for taking your time. i appriciate it. sorry for the
> > rapidshare link but i dont got access to my server at this moment..
>
> >http://rapidshare.com/files/278604343/Phaeton.zip.html
>
> > On 11 Sep, 16:11, Tuna Toksoz <tehl...@gmail.com> wrote:
> > > Share here, so everybody can comment.
>
> > > Tuna Toksöz
> > > Eternal sunshine of the open source mind.
>
> >http://devlicio.us/blogs/tuna_toksozhttp://tunatoksoz.comhttp://twitt...
>
> > > On Fri, Sep 11, 2009 at 10:10 AM, Topflysecurity <
> > konnektgra...@gmail.com>wrote:
>
> > > > sure i can.. just give me a minute to get it done.. u got a mail or
> > > > should i share it here?
>
> > > > On 11 Sep, 16:07, Tuna Toksoz <tehl...@gmail.com> wrote:
> > > > > I would like to see a test case, can you share?
>
> > > > > Tuna Toksöz
> > > > > Eternal sunshine of the open source mind.
>
> > > >http://devlicio.us/blogs/tuna_toksozhttp://tunatoksoz.comhttp://twitt.
> > ..
>
> > > > > On Fri, Sep 11, 2009 at 10:06 AM, Topflysecurity <
> > > > konnektgra...@gmail.com>wrote:
>
> > > > > > Yes transaction.. yea that is maby a good idea but maby we can
> > > > > > continue it here while we got a flow?
>
> > > > > > On 11 Sep, 16:02, Tuna Toksoz <tehl...@gmail.com> wrote:
> > > > > > > BTW, it might be better to move this conversation to nhusers
> > group.
>
> > > > > > > Tuna Toksöz
> > > > > > > Eternal sunshine of the open source mind.
>
> >http://devlicio.us/blogs/tuna_toksozhttp://tunatoksoz.comhttp://twitt.
> > > > ..
>
> > > > > > > On Fri, Sep 11, 2009 at 10:01 AM, Tuna Toksoz <tehl...@gmail.com
>
> > > > wrote:
> > > > > > > > are you running this in a transaction?
>
> > > > > > > > Tuna Toksöz
> > > > > > > > Eternal sunshine of the open source mind.
>
> > > > > > > >http://devlicio.us/blogs/tuna_toksoz
> > > > > > > >http://tunatoksoz.com
> > > > > > > >http://twitter.com/tehlike
>
> > > > > > > > On Fri, Sep 11, 2009 at 10:00 AM, Topflysecurity <
> > > > > > konnektgra...@gmail.com>wrote:
>
> > > > > > > >> i already tried that it dont work. if i do the
> > addCustomerPhone
> > > > like i
> > > > > > > >> use to then response.redirect to another page and get the last
> > > > added
> > > > > > > >> customerphone then it is there. it workes if i use the
> > > > CustomerPhone
> > > > > > > >> service save..
>
> > > > > > > >> On 11 Sep, 15:52, Tuna Toksoz <tehl...@gmail.com> wrote:
> > > > > > > >> > I wouldmake a call on save for Customer, and it iwll
> > cascade.
>
> > > > > > > >> > Tuna Toksöz
> > > > > > > >> > Eternal sunshine of the open source mind.
>
> > > >http://devlicio.us/blogs/tuna_toksozhttp://tunatoksoz.comhttp://twitt.
> > > > > > ..
>
> > > > > > > >> > On Fri, Sep 11, 2009 at 9:50 AM, Topflysecurity <
> > > > > > > >> konnektgra...@gmail.com>wrote:
>
> > > > > > > >> > > so if i got this right i cant do a
> > > > Customer.AddCustomerPhone().. i
> > > > > > > >> > > have to do call my CustomerPhoneService and save the
> > > > CustomerPhone
> > > > > > > >> > > like that?
>
> > > > > > > >> > > On 11 Sep, 15:43, Tuna Toksoz <tehl...@gmail.com> wrote:
> > > > > > > >> > > > You have to issue a call to session.Save() and save the
> > > > root.
>
> > > > > > > >> > > > Tuna Toksöz
> > > > > > > >> > > > Eternal sunshine of the open source mind.
>
> >http://devlicio.us/blogs/tuna_toksozhttp://tunatoksoz.comhttp://twitt.
> > > > > > > >> ..
>
> > > > > > > >> > > > On Fri, Sep 11, 2009 at 9:41 AM, Topflysecurity <
> > > > > > > >> konnektgra...@gmail.com
> > > > > > > >> > > >wrote:
>
> > > > > > > >> > > > > Yes it is. what can i do?
>
> > > > > > > >> > > > > On 11 Sep, 15:39, Tuna Toksoz <tehl...@gmail.com>
> > wrote:
> > > > > > > >> > > > > > Is "CustomerPhones" an IList<CustomerPhone>?
>
> > > > > > > >> > > > > > Tuna Toksöz
> > > > > > > >> > > > > > Eternal sunshine of the open source mind.
>
> > > >http://devlicio.us/blogs/tuna_toksozhttp://tunatoksoz.comhttp://twitt.
> > > > > > > >> > > ..
>
> > > > > > > >> > > > > > On Fri, Sep 11, 2009 at 9:34 AM, Topflysecurity <
> > > > > > > >> > > konnektgra...@gmail.com
> > > > > > > >> > > > > >wrote:
>
> > > > > > > >> > > > > > > i am sorry but what you mean with "not persisting
> > it
> > > > into
> > > > > > DB "
> > > > > > > >> in
> > > > > > > >> > > this
> > > > > > > >> > > > > > > case?
>
> > > > > > > >> > > > > > > On 11 Sep, 15:24, Tuna Toksoz <tehl...@gmail.com>
> > > > wrote:
> > > > > > > >> > > > > > > > You're not persisting it into DB
>
> > > > > > > >> > > > > > > > Tuna Toksöz
> > > > > > > >> > > > > > > > Eternal sunshine of the open source mind.
>
> >http://devlicio.us/blogs/tuna_toksozhttp://tunatoksoz.comhttp://twitt.
> > > > > > > >> > > > > ..
>
> > > > > > > >> > > > > > > > On Fri, Sep 11, 2009 at 9:23 AM, Topflysecurity
> > <
> > > > > > > >> > > > > konnektgra...@gmail.com
> > > > > > > >> > > > > > > >wrote:
>
> > > > > > > >> > > > > > > > > hi. i wonder what i am missing. let's say i
> > got a
> > > > > > Customer
> > > > > > > >> and
> > > > > > > >> > > i
> > > > > > > >> > > > > add a
> > > > > > > >> > > > > > > > > CustomerPhone, when i try to use the
> > CustomerPhone
> > > > id
> > > > > > > >> right
> > > > > > > >> > > after
> > > > > > > >> > > > > the
> > > > > > > >> > > > > > > > > save it is 0. i really haven't had this
> > problem
> > > > before
> > > > > > and
> > > > > > > >> i
> > > > > > > >> > > don't
> > > > > > > >> > > > > > > > > know what to search for on google. so i give
> > it a
> > > > shot
> > > > > > > >> here
>
> > > > > > > >> > > > > > > > > public virtual void
> > > > AddCustomerPhones(CustomerPhone
> > > > > > > >> > > customerPhone)
> > > > > > > >> > > > > > > > >        {
> > > > > > > >> > > > > > > > >            customerPhone.Customer = this;
> > > > > > > >> > > > > > > > >            CustomerPhones.Add(customerPhone);
> > > > > > > >> > > > > > > > >        }
>
> > > > > > > >> > > > > > > > >  public CustomerMap()
> > > > > > > >> > > > > > > > >        {
> > > > > > > >> > > > > > > > >            Id(x => x.Id,
> > > > > > > >> > > > > "Id").GeneratedBy.Identity().WithUnsavedValue
> > > > > > > >> > > > > > > > > (default(int));
>
> > > > > > > >> > > > > > > > >            Map(x => x.Name);
> > > > > > > >> > > > > > > > >            Map(x => x.CreateDate);
> > > > > > > >> > > > > > > > >            Map(x => x.Active);
> > > > > > > >> > > > > > > > >            Map(x => x.OrgNumber);
> > > > > > > >> > > > > > > > >            Map(x => x.Email);
> > > > > > > >> > > > > > > > >            Map(x => x.CGuid);
>
> > > > > > > >> > > > > > > > >            HasMany<CustomerPhone>(x =>
> > > > > > > >> > > x.CustomerPhones).IsInverse
> > > > > > > >> > > > > > > > > ().Cascade.All().LazyLoad();
> > > > > > > >> > > > > > > > >        }
>
> > > > > > > >> > > > > > > > > public CustomerPhoneMap()
> > > > > > > >> > > > > > > > >        {
> > > > > > > >> > > > > > > > >            Id(x => x.Id,
> > > > > > > >> > > > > "Id").GeneratedBy.Identity().WithUnsavedValue
> > > > > > > >> > > > > > > > > (default(int));
>
> > > > > > > >> > > > > > > > >            Map(x => x.Name);
> > > > > > > >> > > > > > > > >            Map(x => x.Phone);
>
> > > > > > > >> > > > > > > > >            References(x => x.Customer);
> > > > > > > >> > > > > > > > >        }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to