gert wrote:
How does Your department class look like? Do You use generic lists? AFAIK, they are not yet supported by NHibernate.
Gert
Here is the Department class.
using System;
using System.Collections;
namespace NHibernateWeb
{
/// <summary>
/// Summary description for Department.
/// </summary>
public class Department
{
private int id;
private string name;
private IDictionary classes;
private IDictionary professors;
public int ID
{
get {return this.id;}
set {this.id = value;}
}
public string Name
{
get {return this.name;}
set {this.name = value;}
}
public IDictionary Classes
{
get {return this.classes;}
set {this.classes = value;}
}
public IDictionary Professors
{
get {return this.professors;}
set {this.professors = value;}
}
}
}
Sorry for my ignorance, but I am new to NHibernate. I am trying it out because I gave up my attempt to learn another popular O/R Mapper.