Chapter 9. Putting NHibernate into Action
This chapter is different from most of the other chapters in the book. Instead of being somewhat abstract, this one will be pretty much hands-on. What we will do here is apply what was discussed in C...
Why NHibernate?
You might wonder why I chose NHibernate. Well, it's not because NHibernate is necessarily the best solution available. What is the best car? That's a silly question, right? It's always the standard answer: "It depends."
...
A Short Introduction to NHibernate
What we are about to discuss here is a product that deals with Metadata Mapping [Fowler PoEAA], an O/R Mapper, which is called NHibernate.
As I said, NHibernate is a port from the very popular O/R Mapper in Java...
Requirements of the Persistence Infrastructure
As I said, before we go into the details, I think it's fitting to discuss the overview requirements that were defined in Chapter 8. I'm thinking about Persistent Ignorant (PI) level, supported life cy...
Classification
OK, I have introduced NHibernate, and we have had a general look at how it deals with the requirements. We are now ready to investigate NHibernate further, and this time with the help of the disposition used in Chapter 8. But instea...
Another Classification: Infrastructure Patterns
Without further ado, let's get started with type of metadata.
Metadata Mapping: Type of Metadata
In Chapter 8, I defined three different types of metadata for the Metadata Mapping pattern [Fowl...
NHibernate and DDD
I bet some of you are screaming for some examples that put all this about NHibernate into the context of DDD. I'd like to end the chapter with exactly that.
Again, I'm not going to use an abstraction layer like NWorkspace here;...
Summary
By applying an O/R Mapper such as NHibernate, the design and code we started sketching out in Chapter 4, "A New Default Architecture," and forward can be followed pretty closely and non-intrusively. NHibernate lets us build our D...
AJAX popular information C# language guides Windows books and cookbooks
.......
С 2009 года мы стали переводить структура сайта на различные языки. Сайт теперь будет содержать книги не только на английском языке, но также и на других европейских языках, в том числе и на Русском языке.