Hello everyone,

my case is the following: I'm developing a VB.NET (3.5) winform
application to keep track of a virtual office stock. This can include
computer hardware, general office supplies, furniture etc. Anything
you'd find in your average office building.

Now, the idea is that we have User(s) and Storage(s). A User would be
someone who could borrow or use any item at all. Storage would be a
physical location where said item(s) were stored (such as a closet or
storeroom). Item(s) would be a base type, including basic properties
such as an ID and a Name. The idea is to "extend" this basetype into
whatever type needed.

As you can imagine the amount and variety of items would be quite
large. Now the problem is that I do not (and cannot) know all these
different types in advance, so it is impossible to pre-define these.
So in the previous version I implemented a system where the developer/
user could create types at runtime, each with their specific
attributes, determined at runtime. A table would then be created with
the necessary columns along with an entry in the type-lookup-table.

The problem is, I just can't figure out how to accomplish this in
nHibernate :(

I'd appreciate any help in attempting to port this!

Reply via email to