There are a few scenarios where it may be appropriate to partition data horizontally across several servers, with performance being the most obvious. In this recipe, I'll show you how we can use NHibernate Shards to split our data set across three databases.
NHibernate.Shards.dllfrom the downloaded ZIP file to your solution's
Eg.Coremodel and mappings from Chapter 1.
Entitybase class, change the type of the