Hello .

I am using Kuate's attribute based mapping instead of xml.

Will NHibernate.Mapping.Attributes be updated for the new keywords of
generics ?


On Oct 25, 10:29 pm, "Tuna Toksöz" <[email protected]> wrote:
> Cool!
>
>
>
> On Sat, Oct 25, 2008 at 11:26 PM, Fabio Maulo <[email protected]> wrote:
> > I would like refresh this thread
>
> >http://groups.google.com/group/nhusers/browse_thread/thread/2e238e02f...
> > As you can read here
>
> >http://fabiomaulo.blogspot.com/2008/10/entity-name-in-action-strongly...
> >http://fabiomaulo.blogspot.com/2008/10/power-of-orm.html
>
> > now we are supporting generics.
> > The today-news is that we are supporting the save without specify the
> > entity-name that mean we are passing
>
> >    using (ISession s = sessions.OpenSession())
>
> >    using (ITransaction tx = s.BeginTransaction())
> >    {
> >            var hf = new Human {Description = "Flinstone", Name = "Fred"};
>
> >            var hm = new Human {Description = "Flinstone", Name = "Wilma"};
>
> >            var hc1 = new Human {Description = "Flinstone", Name = 
> > "Pebbles"};
>
> >            var hfamily = new Family<Human>
> >                              {
>
> >                                  Father = hf,
> >                                  Mother = hm,
> >                                  Childs = new HashedSet<Human> {hc1}
>
> >                              };
> >            s.Save(hfamily);
> >            tx.Commit();
> >    }
>
> > And something more... but will be the matter of the next post.
> > --
> > Fabio Maulo
>
> --
> Tuna Toksöz
>
> Typos included to enhance the readers attention!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to