Try SessionFactory.GetAllClassMetadata()... It'll give you a list of all mapped classes. But not the tables. What do you need the tables for anyway?
Diego On Thu, Feb 4, 2010 at 12:41, Marco < [email protected]> wrote: > Another question in this context is: > > If I add an assembly to a SessionFactory, where do I find this entry > later to read it? > (In this case "ParkingLotsDB.ParkingLot.ParkingLot") > > ' Add Assembly > > cfg.AddAssembly(Assembly.GetAssembly(GetType(ParkingLotsDB.ParkingLot.ParkingLot))) > > ' Create Session Factory > Dim SessionFactory As ISessionFactory = dbConfig.BuildSessionFactory() > > SessionFactory.?? <- where can I get > "ParkingLotsDB.ParkingLot.ParkingLot"? > > -- > 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]<nhusers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > > -- 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.
