Joined: Mon May 14, 2007 9:50 am Posts: 1
|
Hi, I have a simple class:
namespace TestHibernate
{
public class TestClass
{
private int i;
private int a;
public int A
{
get { return a; }
set { a = value; }
}
public int I
{
get { return i; }
set { i = value; }
}
}
}
and I`m getting an exception while trying to create SessionFactory:
The following types may not be used as proxies: TestHibernate.TestClass: method set_I should be virtual TestHibernate.TestClass: method set_A should be virtual TestHibernate.TestClass: method get_I should be virtual TestHibernate.TestClass: method get_A should be virtual
Do you have any idea what may be wrong?
Thank you very much in advance for any help
|
|