Hi Diego,

I'll try this. If I get the classes, I get the tables, because there
is a class per table.

I need the tables because I have to make some kind of replication, but
with special
conditions for some tables.

On 4 Feb., 21:10, Diego Mijelshon <[email protected]> wrote:
> 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.

Reply via email to