Questions tagged [iesi-collections]

15 questions
6
votes
2 answers

Where do I download Iesi.Collections from?

Trying out nHibernate, it says it can't find Iesi.Collections. Where can I get this from? Shouldn't it ship with the nHibernate download if it is so vital?
mrblah
  • 99,669
  • 140
  • 310
  • 420
6
votes
2 answers

What is a suitable NHibernate / Iesi.Collections.Generic.ISet replacement?

In the latest version of Iesi.Collections is missing Iesi.Collections.Generic.ISet. There seem to be three alternatives: LinkedHashSet ReadOnlySet SynchronizedSet Iesi.Collections.Generic.ReadOnlySet seems to be the closest to the ISet, and the…
lko
  • 8,161
  • 9
  • 45
  • 62
3
votes
1 answer

The type or namespace name 'ISet' does not exist

I'm upgrading a Windows Smart Client solution from nHibernate 2.2 to 4.0. This required updating Iesi.Collections (4.0.1.4000) as well. On this line: protected Iesi.Collections.Generic.ISet eventSet; I get this error: The type or…
Al Lelopath
  • 6,448
  • 13
  • 82
  • 139
2
votes
1 answer

Iesi.Collections (nuget package) is not supported for .NET 2.0 ? Huh?

I've just tried adding Iesi.Collections to a .NET 2.0 project and it failed :- PM> Install-Package Iesi.Collections Successfully installed 'Iesi.Collections 3.2.0.4000'. Successfully uninstalled 'Iesi.Collections 3.2.0.4000'. Install failed. Rolling…
Pure.Krome
  • 84,693
  • 113
  • 396
  • 647
2
votes
3 answers

Can't remove item from Iesi.Collections.Generic ISet

I have a collection of type: Iesi.Collections.Generic public ISet ItemBindings { get; set; } where ItemBinding is Domain.Model I initialize the collection in this way: ItemBindings = new HashedSet(); and I fill the…
mihai
  • 2,746
  • 3
  • 35
  • 56
1
vote
0 answers

Iesi.Collections official page

Iesi.Collections.dll is shipped with nHibernate and has some good collections worth reusing. However I cannot find any official documentation page for them, and it might be dangerous to use unversioned undocumented library in the production,…
Ivan G.
  • 5,027
  • 2
  • 37
  • 65
1
vote
1 answer

How to correctly instantiate ISet

I have a parent object that has an attribute of ISet however I havent been able to instantiate the set correctly...how can I do this?
ninjasense
  • 13,756
  • 19
  • 75
  • 92
1
vote
2 answers

HashSet vs HashedSet (Iesi): strange behavior

Today I was testing a couple of things on my domain model and I have realized the behavior wasn't what I expected. I have tried to isolate the problem creating a simple Customers-Orders model. This is my mapping. Customer:
LeftyX
  • 35,328
  • 21
  • 132
  • 193
1
vote
1 answer

What is NHibernate doing to my Iesi.Collections.ISet?

I'm trying to test a service of mine that is called GetUsersForRole. It takes in a simple string and is passes this off to my RoleRepository to deal with NHibernate and get a collection of Roles with the passed in string for its RoleName. To do…
Tyler Wright
  • 795
  • 1
  • 9
  • 28
1
vote
1 answer

Iesi.Collections not loading?

I want to use Nhibernate and I write a this code package console manager Install-Package NHibernate and I get this error Install-Package : Unable to resolve dependency 'Iesi.Collections (≥ 3.2.0.4000)'. At line:1 char:16 + Install-Package…
altandogan
  • 1,245
  • 6
  • 21
  • 44
1
vote
2 answers

Where are HashedSet.cs & DictionarySet.cs from NHibernate/Iesi.Collections?

Here is my basic situation. I'm trying to use NHibernate to get information from a database, create some objects based off the mappings, serialize, them, and the move the serialized object on to a flash component. No build errors are going off, but…
ArcaneVibe
  • 67
  • 8
0
votes
1 answer

Why is the schema generated by Fluent NHibernate read-only?

I have the following code: var schemaExport = new SchemaExport(cfg); schemaExport.Drop(false, true); schemaExport.Create(false, true); Fluently.Configure() .Database(MsSqlConfiguration .MsSql2008 .ConnectionString(connString)) .Mappings(m…
Sabuncu
  • 5,095
  • 5
  • 55
  • 89
0
votes
1 answer

Can't add item to iesi.collections.generic.iset

Trying to add item to iset, but it doesn't happens. var controlPoint = new ControlPoint {Lon = 53.25253, Lat = 56.23422, Radius = 16}; //controlPoint.ApprovedRoutes = new HashedSet(); controlPoint.Save(); var route = new…
0
votes
1 answer

Adding configuration to library project C#

I have a Console project and a Class library project in solution. Library prject is my Data Access Layer (DAL), also I am using NHibernate and NET Persistenc API in my DAL. As Iesi.Collections.dll is required for NHibernate, so while loading this…
Arry
  • 1,630
  • 9
  • 27
  • 46
0
votes
1 answer

Using Iesi ISet with NHibernate

I'm missing something here! I'm using ISet to map collection in my NHibernate winform c# project. Now I want to do something like this: Person _person=new Person(); Address _address1=new…
danyolgiax
  • 12,798
  • 10
  • 65
  • 116