Hi,
So, here's a snippet of the class I'm persisting using NHibernate:
Code:
public class Table1 {
public virtual event PropertyChangedEventHandler PropertyChanged;
private int id;
private string name;
....
public Table1() { ... }
public string Name {
get {
return name;
}
set {
name = value;
PropertyChanged();
}
}
}
Running this I get an exception:
Code:
could not execute query
[ SELECT this_.Id as Id0_0_, this_.Name as Name0_0_ .........
Which I don't get if I don't have that event (PropertyChanged) declared in my class... Any thoughts?
Thanks!