Hi,
this my be a silly question. I just started using llblgen and a new question arises in every step. I apologize if this is answered before.
The .Save() method returns a true or false right. In my entity there is a field that can not be Null. While setting the values for it, i intentionally didnt set the value of a field, that wont accept null, to see what would happen. And i got b"blah blah this field can not be null ..." error.
when does .Save() method return a false? my code was something like this:
UserEntity newUser = new UserEntity();
newUser.FirstName = "first1";
//newUser.LastName = "last1"; (last name can not be null)
if (newUser.Save())
{
lblMessage.Text = "save successfull";
}
else
{
lblMessage.Text= "save failed";
}
thanks
-shane