This question is locked. New answers and comments are not allowed.
Hi,
I have this class declaration. I also added the HasFieldName("_num") on the Number property. When I read the contents from the database, the value of _num is always zero, even if Number property is not zero. Why is it not synchornized?
I have this class declaration. I also added the HasFieldName("_num") on the Number property. When I read the contents from the database, the value of _num is always zero, even if Number property is not zero. Why is it not synchornized?
class
Test
{
public
Number {
get
{
return
_num; }
set
{ _num = value; }
}
private
int
_num = 0;
}