-
Recent Posts
Recent Comments
- John Teague on Polymorphism Part 2: Refactoring to Polymorphic Behavior
- Artëm Smirnov on Polymorphism Part 2: Refactoring to Polymorphic Behavior
- The Morning Brew - Chris Alcock » The Morning Brew #1344 on Pablo’s Fiesta is Back!!
- MBR on Polymorphism Part 2: Refactoring to Polymorphic Behavior
- Mario Pareja on Polymorphism: Part 1
Archives
- April 2013
- March 2013
- February 2013
- December 2012
- November 2012
- May 2012
- April 2012
- February 2012
- September 2011
- August 2011
- June 2011
- April 2011
- March 2011
- November 2010
- June 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- February 2009
- January 2009
- November 2008
- October 2008
- September 2008
- August 2008
- June 2008
- May 2008
Categories
- ActiveRecord
- adnug
- april-fools
- automated-builds, ADNUG
- c#
- Castle
- codecamp
- Command Processor Pattern
- CSS
- DDD
- design patterns
- fiesta open-spaces
- IOC
- iron ruby
- JavaScript
- jQuery
- Law of Demeter
- linq
- los-techies-fiesta
- MonoTouch
- MVC
- NHibernate
- NHibernate DDD
- nodejs
- PTOM
- Repository Pattern
- resharper
- Software Design
- SOLID
- TDD
- Testing
- Uncategorized
Meta
Category Archives: NHibernate
Making history explicit
Introduction In one product of our solution we needed to record the full history of some entities. What does this mean? It means we create a history entry whenever the state of the corresponding entity changes. When doing this there … Continue reading
Also posted in adnug, codecamp
Leave a comment
Ad-hoc mapping with NHibernate
In my recent adventures with massive bulk processing, there are some times when I want to pull bulk loaded tables from SQL, but don’t want to go through all the trouble of building a mapping in NHibernate. For example, one … Continue reading
Using Fluent NHibernate With Legacy Databases
I am currently working on a project that has a requirement that it be able to access data from a legacy SQL Server database. One feature of this system is the ability to add and store checking accounts. These checking … Continue reading
Also posted in NHibernate DDD
14 Comments
Bulk processing with NHibernate
On a recent project, much of the application integration is done through bulk, batch processing. Lots of FTP shuffling, moving files around, and processing large CSV or XML files. Everything worked great with our normal NHibernate usage, until recently when … Continue reading
Implementing Domain Queries
My current Repository interface looks something like this: public interface IRepository { T FindOne<T>(int id); T FindBy<T>(Expression<Func<T, bool>> expression); IEnumerable<T> FindAllBy<T>(Expression<Func<T, bool>> expression); IEnumerable<T> FindAll<T>(); T FindOneBy<T>(Expression<Func<T, bool>> expression); void Save<T>(T target); void Update<T>(T target); void SaveOrUpdate<T>(T target); void Delete<T>(T … Continue reading
Also posted in DDD, linq
11 Comments
Migrating to Fluent NHibernate
Recently, I’ve been entrenched in migrating our existing hbm.xml mapping files to Fluent NHibernate. Having been through other OSS upgrades, I was expecting something along the lines of pulling teeth. I pictured a branch, tedious work to try and move … Continue reading
Article series on NHibernate and Fluent NHibernate – Part 3
Today the third part of my series on NHibernate and Fluent NHibernate went live. You can read it here. Summary In part 3 of this article series about NHibernate and Fluent NHibernate I have discussed how to let Fluent NHibernate … Continue reading
Also posted in Uncategorized
Leave a comment
Configuring Fluent NHibernate with an External NHibernate Config File
A while ago I was having issues using configuring fluent NHibernate with an external configuration file. I kept running into the issue of mappings not being registered. I was finally able to get it working appropriately and thought I would … Continue reading
Also posted in JavaScript, jQuery
3 Comments
Some quick updates
I know I’ve been remiss in my blog posting duties. Please trust me when I say it’s for good reason and that you’d understand. I appreciate you sticking with me. In the meantime, here are a few tidbits that you … Continue reading
Castle ActiveRecord and registering classes at runtime
I use the following trick for adding ActiveRecord classes after the fact for our in-house plug-in architecture. Thanks to whichever blogger/mailing list I picked this up from so long ago. Scenario 1: Class(es) to load inherit from same base class … Continue reading
Also posted in TDD
5 Comments
