Пример #1
0
        public static BindingList <ChangeObject> GetProjectDetailChanges(Session session, int recordID)
        {
            List <ChangeObject> result = new List <ChangeObject>();

            foreach (ProjectDetails detail in session.GetObjectByKey <Project>(recordID).ProjectDetails)
            {
                result.AddRange(AuditTrailBLL.GetChanges(session, "ProjectDetails", detail.Oid, true).ToList());
            }

            return(new BindingList <ChangeObject>(result));
        }
Пример #2
0
        public static BindingList <ChangeObject> GetProjectDetailChanges(Session session, int recordID, bool uniqueProperties)
        {
            BindingList <ChangeObject> result = AuditTrailBLL.GetChanges(session, "ProjectDetails", recordID, uniqueProperties);

            //For Each update As ChangeObject In result
            //    If update.PropertyName = "ProjectItem" Then
            //        If update.PrevValue <> "NULL" Then
            //        update.PrevValue = update.
            //        End If
            //    End If
            //Next

            return(result);
        }