Problem When trying to save IsDirty stays False

Problem When trying to save IsDirty stays False

Old forum URL: forums.lhotka.net/forums/t/9164.aspx


vbbeta posted on Friday, July 02, 2010

Hi evryone i have a strange problem when i`m ftching the Data the is dirtyComes in as False and it stays like this even if i edit the objects fromk the UI controls

RockfordLhotka replied on Friday, July 02, 2010

This is in the data access FAQ.

vbbeta replied on Friday, July 02, 2010

I saw this thread already i wish this should be the problem that it should be dirty, but my problem is that it comes in clean after fetch and stays like this and cant save or update the class stays Isdirty (false) i dont know why  after edting the Busines Objects when the objects is loaded from the data base

Marjon1 replied on Saturday, July 03, 2010

I would be checking your property declarations then, depending on which version of CSLA you are using you need to ensure that either:

It sounds like the PropertyHasChanged isn't being fired correctly, thus not marking the object as dirty.

Copyright (c) Marimer LLC