The lazy = “false” mapping

Using lazy = "false" mappings is a very bad practice, and overrides any possibility to use fetching strategies. Even if at a certain point something seems to be necessary all the time and lazy = "false" might make sense, the application will evolve and a context will appear in which that thing will not be [...]

Posted at 4:32 pm on April 28, 2010 | leave a comment | Filed Under: Uncategorized | read on

Fetching strategies and complex hierarchies

ALL THE EXAMPLES FROM THIS POST ARE EXTRACTED FROM THE FWKLIGHT DEMO. TO FIND OUT HOW TO GET STARTED WITH THE DEMO, READ THIS POST. Fetching strategies can be applied to aggregates with complex hierarchies, not only to the first level inside the aggregate. In order to optimize the queries that will be run, each [...]

Posted at 4:27 pm on April 28, 2010 | leave a comment | Filed Under: Uncategorized | read on

What is FwkLight?

Fwklight is an architectural foundation for building .Net applications. It integrates a powerful set of best practices with an object relational mapper (NHibernate) and a dependency injection framework (Structuremap), to create a combination which helps you write quality code and be extremely productive.

Follow

Get every new post delivered to your Inbox.