Session 02: Exploring Query Methods and Syntaxes
In this session we explore basic quering syntax in NHibernate using HQL and the Criteria API to begin to interact with our database.
View ArticleSession 02a: Exploring Query Methods and Syntaxes (con't)
In this session we look at GROUP BY and ORDER BY predicates in queries as well as returning custom objects from the database.
View ArticleSession 01: Setup and Basic Usage Pattern
In this session we setup the VS IDE to leverage the NHibernate mapping and config schema files, wite our first Nhibernate-enabled class and its accompanying XML mapping file, and get our first data out...
View ArticleSession 03: Exploring INSERT, UPDATE, and DELETE Semantics
In this session we do some housekeeping to support our data-dependent unit test needs and then dive into asking NHibernate to perform UPDATEs, INSERTs, and DELETEs on our database.
View ArticleSession 04: Introducing Transactions and Concurrency
In this session we dig into managing Commit() and Rollback() of transactions using NHibernate, explore handling row-versioning and concurrency, refactor our data-access-class to squash a bug, and...
View ArticleSession 05: Modeling Foreign-Key Relationships in NHibernate
In this session we introduce the concepts behind NHibernate's support for modeling FK relations using collections of objects, extend our mapping files to reflect relationships between our objects, dig...
View ArticleSession 06: Advanced Querying of Child Collections
In this session we further refactor our NHibernateDataProvider class to improve its session management, investigate querying child collections using both HQL and the Criteria API, and dig into the...
View ArticleSession 07: Exploring m:n Relationships, Views, and Components
In this session we explore NHibernate's support for many-to-many relationships, investigate techniques for interacting with VIEWS in our database, and enrich our bare-bones object model by introducing...
View ArticleSummer of NHibernate Session 08
In this latest installment of the series, we dig into techniques for using code-generation tools to completely slave the design of our Data Transfer Objects and their related .hbm.xml mapping files to...
View ArticleSummer of NHibernate Session 09
In this installment we explore the capabilities of the NHibernate SchemaExport class and discover how it can be used to completely slave our database schema to our object model in order to better...
View ArticleSummer of NHibernate Session 10
In this session we explore some miscellaneous topics including digging into NHibernate's support for working with stored procedures, our ability to react to events on the Session object through the use...
View ArticleSummer of NHibernate Session 11: Modeling Inheritance in the Database
In this session, we explore NHibernate's various techniques for modeling OO inheritance in the database, explore the meaning and power of polymorphic queries (try THAT with the Entity Framework~!), and...
View ArticleSummer of NHibernate Session 12: Detached Objects, Detached Criteria, and...
In this installment we investigate ISession lifecycle, understand how to detach and reattach objects to and from an ISession instance, and explore the flexibility that Detached Criteria gives us to...
View ArticleSummer of NHibernate Session 13: Managing Session Lifecycle in a Stateless...
In this installment we dig into the patterns for managing ISession lifecycle in ASP.NET web applications and spend some time understanding the pros of and cons of the various strategies that can be...
View ArticleSummer of NHibernate Session 13 (corrected) screencast is now available
Somehow Camtasia silently truncated the final 5 minutes or so of the initial post of this installement so here it is again (corrected). Sorry for any trouble this may have caused anyone~!
View ArticleSummer of NHibernate Session 14: Migrating to NHibernate 2.0 and Further...
In this final installment of the series we migrate our data-access-layer and related unit tests to support NHibernate 2.0 and in the process uncover some understanding of breaking changes. We also take...
View ArticleAutumn of Agile Screencast Series has begun!
If you have been subscribed to this RSS feed, then you might want to know that the initial installment of the Autumn of Agile Screencast series has just begun. For more info, check out the site at...
View Article
More Pages to Explore .....