Hi,
I don't know if it's a bug or not but the behaviour changed so I post here.
Previously (v1.2005 + net 1.1) this nunit was ok :
[Test]
public void TestDefaultValueForPKFieldForNewEntity()
{
Timetable tt = new Timetable();
Assert.AreEqual(0, tt.TtId);
Assert.AreEqual(0, ((IEntityField2)tt.Fields.PrimaryKeyFields[0]).CurrentValue);
}
Now, it breaks, because the CurrentValue is null.
Is it a bug or it's normal ?
Because I've webservice that are in charge of giving new object (so that in the client the form fields are filled with server default value) by translating the object into dataset (using my own method) and now it crash because it didn't test the PK CurrentValue as it was always filled...