Hi. Bought your product a week ago or so and have been very pleased. But now i´ve come across a very strange problem.
I can´t set a bool value field on a new entity. All others fields works. But when i set the property it just doesnt change, and when i entity.save() i fails because it says i can't insert a NULL value in that colum. the sql thats generated does not contain the colum so its somehow totally omitted.
I have regenerate everything twice. Im on a MS SQL 2000 server and the colum is bit type with length 1.
Any suggestions? This is the code:
GenusreservationEntity genus = new GenusreservationEntity();
genus.Unit = subejaculate.Unit;
genus.Quality = subejaculate.Ejaculate.Quality;
genus.Department = new DepartmentEntity(1);
genus.Person = subejaculate.Ejaculate.Person;
genus.Count = requestedCount;
genus.Active = true; // << this stays false in debug
genus.SetNewFieldValue("Active", true); // << Doesnt help
genus.Save();
Looking forward to hear from someone soon because we are on a bit of a hurry, (Aint we all)
Thanks in regards