Code: Select all
[DataField("Descript")]
private string descript;
bool descriptChanged;
/// <summary>The description can be similar to the catalog, but not required. Typically includes qty per box/case, etc.</summary>
public string Descript {
get { return descript; }
set { descript = value; MarkDirty(); descriptChanged = true; }
}
public bool DescriptChanged {
get { return descriptChanged; }
}
Code: Select all
[DataField("Descript")]
private string descript;
bool descriptChanged;
/// <summary>The description can be similar to the catalog, but not required. Typically includes qty per box/case, etc.</summary>
public string Descript {
get { return descript; }
set { if(descript!=value){descript = value; MarkDirty(); descriptChanged = true; }}
}
public bool DescriptChanged {
get { return descriptChanged; }
}
I made the change to the DataObject where I needed it. It's my intention to make the same change to all the tables I've recently added.