/// <summary> /// Load all of the hardware / system items audited for this asset /// </summary> /// <returns>Count of items added to the list</returns> public int PopulateAuditedItems() { AuditedItemsDAO lwDataAccess = new AuditedItemsDAO(); _listAuditedItems = new AuditedItemList(lwDataAccess.GetAuditedItems(AssetID, "", true)); return(_listAuditedItems.Count); }
public IconMappings(AuditedItemsDAO lwDataAccess) { // Populate our internal list DataTable tableIcons = lwDataAccess.GetIconMappings(); foreach (DataRow row in tableIcons.Rows) { IconMapping mapping = new IconMapping(row); this.Add(mapping); } }