Ejemplo n.º 1
0
        public static ArrayList DataTableToBizItems(Guid logoid, DataTable dt, string roidname = "PLM_R_OID")
        {
            if (dt == null)
            {
                return(new ArrayList());
            }
            ArrayList revOids = new ArrayList();

            foreach (DataRow row in dt.Rows)
            {
                revOids.Add(new Guid((byte[])row[roidname.ToUpper()]));
            }
            return(ItemAgent.GetBizItemsByRevisions(revOids, Guid.Empty, logoid, BizItemMode.BizItem));
        }