This post is the second post in a multi-part series of examples for NHibernate‘s Map by Code feature. Code in this series has been tested with NHibernate’s latest 4.0 as well as 3.3.3. Part One Many To Many Inverse Bag Part Two (you are here) JoinedSubClassMapping vs SubclassMapping (Discriminators) vs UnionSubclassMapping Part Three ForeignKey “none” IdBag Formula EnumStringType<> JoinedSubClassMapping vs…
Tag: database
The NoSQL Movement
The NoSQL movement is a hot topic in the development world right now. If you’re not familiar with NoSQL, check out http://en.wikipedia.org/wiki/NoSQL and http://nosql-database.org/. NoSQL is often a misleading term and doesn’t refer to just one type of database technology as SQL does (think relational database management systems such as Microsoft SQL Server, Oracle, MySQL, and SQLite. NoSQL can refer…
Creating an Azure DocumentDB
Microsoft has been providing (in opinion) the best cloud platform for developers for quite a while, and their newest preview feature (DocumentDB) continues to add features modern developers have been asking for. Azure’s DocumentDB is a NoSQL document database service that supports JSON document storage and rich, native JavaScript query support. I’ll spend the next posts reviewing the new DocumentDB…