-
Recent Posts
Recent Comments
- GoDaddy.com on Domains available
- Chad Myers on Domains available
- Adam Rackis on Domains available
- Gleb on Domains available
- Joey on Sweet, sweet vindication
Archives
- February 2012
- December 2011
- October 2011
- July 2011
- June 2011
- May 2011
- March 2011
- February 2011
- January 2011
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- February 2010
- January 2010
- November 2009
- October 2009
- September 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
Categories
- .NET
- 1998
- ad nauseum
- Advice
- Agile
- Agile Arguments
- ALT.NET
- altdotnet
- ASP.NET
- ASP.NET MVC
- ATX Code Lunch
- Austin
- Code Examples
- CoDe Magazine
- Code Specifications
- code-review
- CodeCamp
- CodingDojo
- composition
- Consulting
- Controllerless
- Conventions
- cool
- cool-stuff-in-fubu
- Database
- datetime
- Deployment
- Design
- DimeCasts
- Domain
- Dovetail
- DSL
- Enforcement
- Expression Trees
- Extension Methods
- Fiesta
- Fluent API
- Fluent NHibernate
- fubucore
- FubuMVC
- GenericFun
- Guidance
- Hiring
- Humor
- internationalization
- IoC
- jQuery
- Kaizenconf
- leadership
- LINQ
- LiveMeeting
- LosTechies
- Mangement
- Mean
- Misc
- Mocks
- MVC
- MVP
- NHibernate
- OffTopic
- Open source
- ORM
- Oxite
- parsing
- Patterns
- PDoTDD
- Plan
- Premature optimization
- Principles
- professionalism
- Programming
- Proof
- PTOM
- Quality
- quiz
- QUnit
- Rails
- rant
- regex
- Repositories
- ReSharper
- RSS
- Ruby
- Sad
- sanctus bovis
- Screencast
- Self-examination
- ShadeTree
- SQL is evil
- Static Reflection
- StructureMap
- TDD
- Tips
- Twitter die die die
- Uncategorized
- Unmaintainability
- VAN
- Video
- WCF
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 Uncategorized
1 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 .NET
12 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 Uncategorized
Comments Off
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 .NET, Principles, Programming, PTOM
32 Comments
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 Uncategorized
12 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
Also posted in Agile, Misc
2 Comments
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 .NET, TDD
2 Comments
