Updated Generated Code to Use IDs rather than Objects for internal Updates

This commit is contained in:
Rich committed 2010-12-13 15:47:02 +00:00
1 parent c8d47d9c64
commit db051f8ff8
50 files changed
+112 -112

No files matched your search

@@ -347,7 +347,7 @@ namespace VEPROMS.CSLA.Library
// if we're not dirty then don't update the database
if (!this.IsDirty) return;
SqlConnection cn = (SqlConnection)ApplicationContext.LocalContext["cn"];
_LastChanged = ROFst.Update(cn, ref _ROFstID, myRODb, _ROLookup, _Config, _DTS, _UserID, ref _LastChanged);
_LastChanged = ROFst.Update(cn, ref _ROFstID, myRODb.RODbID, _ROLookup, _Config, _DTS, _UserID, ref _LastChanged);
MarkOld();
}
internal void DeleteSelf(RODb myRODb)