refoactor nhibernate bases - use .NET 4 ISet.