Update related lists when related value changes.
This commit is contained in:
@@ -192,7 +192,13 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
private void RefreshFields(RoUsage tmp)
|
||||
{
|
||||
_ContentID = tmp.ContentID;
|
||||
if (_ContentID != tmp.ContentID)
|
||||
{
|
||||
MyContent.RefreshContentRoUsages(); // Update List for old value
|
||||
_ContentID = tmp.ContentID; // Update the value
|
||||
_MyContent = null; // Reset list so that the next line gets a new list
|
||||
MyContent.RefreshContentRoUsages(); // Update List for new value
|
||||
}
|
||||
_ROID = tmp.ROID;
|
||||
_Config = tmp.Config;
|
||||
_DTS = tmp.DTS;
|
||||
|
Reference in New Issue
Block a user