Hi Db4o,
I have problems with enums in a network database, c# environment, version Continues Build july 9th, 2008.
public enum GroupEnum { First, Second, Third }
public class Student2
{
public GroupEnum Group;
public string Name;
}
[Test]
public void Test2()
{
IObjectContainer _client = Db4oFactory.OpenClient("mjb-pc2", 8732, "user1", "password");
Student2 student = new Student2();
student.Name = "Student2";
student.Group = GroupEnum.First;
_client.Store(student); // Hangs in this call !!!!!!!!!!!!!!!!!!
_client.Commit();
_client.Close();
}
The _client.Store(student) call in Test2 never returns and the database file keeps growing.
Changing the 'public GroupEnum Group' to a property and a backing field, doesn't help.
What is going on here?
Thanks
Martin