NHibernate: hiding ID setters(blog.andreloker.de)
submitted by
aloker(1810) 3 years, 8 months ago
Encapsulation is a key concern in object oriented development. Sometimes you have to break encapsulation a bit to make your code interoperable with the infrastructure. In this article I explain how to make a domain entity play well with NHibernate while keeping an encapsulated interface towards the user.
|category: Tips & Tricks
|Views: 16
tags:
Tips another
Everyones tags:
Your Tags: