Hello Group :-)

I'm writing an NHibernate Application in VB.NET and try to do
something like the following:

'
----------------------------------------------------------------------------------------------------------------------
' Here we go...
Dim tableName as String = "NameOfTable"
Dim tableObject as Object

' Caution: This line is pure fantasy....
tableObject = GetObjectFromNHibernateMapping(tableName)

' Back to reality
Dim AllRecordsFromTableName as IList =
CreateCriteria(GetType(tableObject)).List

' More Code to write...
'
----------------------------------------------------------------------------------------------------------------------

So, how can I create Objects from NHibernate Mapping at running,
because I have to be
flexible wich table I want to edit respectivly which content I want to
show


Any help is appreciated

-- 
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