Generic Well Known Instances, loaded from the database
20 views
Skip to first unread message
Dietrich
unread,
Apr 29, 2011, 11:57:36 AM4/29/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to uNhAddIns
I've got an application domain in which quite a few entities are
immutable for the lifetime of an application, but I want to manage
them in a database and not compiled them in code. For example, the
list of Employees and Departments. I also want to cut down on trips to
the database in general. There are many different entities in the
system that refer to these entities.
Has anyone attempted to use Generic Well Known instance types in this
fashion? Loading these entities from the database on application start
rather than hard coding them? Is there a different feature of
NHibernate or uNHaddins I should look at to help me with this?
Diego Mijelshon
unread,
Apr 29, 2011, 12:54:58 PM4/29/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to unha...@googlegroups.com
That's not what well known instances are used for. Use caching instead.
Diego
Dietrich
unread,
Apr 29, 2011, 1:42:57 PM4/29/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to uNhAddIns
Caching as in 2nd level caching, or is there a 1st level cache that
exists outside of a session that I am unaware of?
Diego Mijelshon
unread,
Apr 29, 2011, 2:07:22 PM4/29/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message