public static List<ItemManufacturer> ToList(BLL.ItemManufacturer v) { List<ItemManufacturer> list = new List<ItemManufacturer>(); while (!v.EOF) { ItemManufacturer t = new ItemManufacturer(); if (!v.IsColumnNull("ID")) t.ID = v.ID; if (!v.IsColumnNull("ItemID")) t.ItemID = v.ItemID; if (!v.IsColumnNull("ManufacturerID")) t.ManufacturerID = v.ManufacturerID; if (!v.IsColumnNull("PackageLevel")) t.PackageLevel = v.PackageLevel; if (!v.IsColumnNull("QuantityPerLevel")) t.QuantityPerLevel = v.QuantityPerLevel; if (!v.IsColumnNull("IsssuingDefault")) t.IsssuingDefault = v.IsssuingDefault; if (!v.IsColumnNull("RecevingDefault")) t.RecevingDefault = v.RecevingDefault; if (!v.IsColumnNull("BoxWidth")) t.BoxWidth = v.BoxWidth; if (!v.IsColumnNull("BoxHeight")) t.BoxHeight = v.BoxHeight; if (!v.IsColumnNull("BoxLength")) t.BoxLength = v.BoxLength; if (!v.IsColumnNull("BrandName")) t.BrandName = v.BrandName; if (!v.IsColumnNull("StackHeight")) t.StackHeight = v.StackHeight; list.Add(t); v.MoveNext(); } return list; }
public static List <ItemManufacturer> ToList(BLL.ItemManufacturer v) { List <ItemManufacturer> list = new List <ItemManufacturer>(); while (!v.EOF) { ItemManufacturer t = new ItemManufacturer(); if (!v.IsColumnNull("ID")) { t.ID = v.ID; } if (!v.IsColumnNull("ItemID")) { t.ItemID = v.ItemID; } if (!v.IsColumnNull("ManufacturerID")) { t.ManufacturerID = v.ManufacturerID; } if (!v.IsColumnNull("PackageLevel")) { t.PackageLevel = v.PackageLevel; } if (!v.IsColumnNull("QuantityPerLevel")) { t.QuantityPerLevel = v.QuantityPerLevel; } if (!v.IsColumnNull("IsssuingDefault")) { t.IsssuingDefault = v.IsssuingDefault; } if (!v.IsColumnNull("RecevingDefault")) { t.RecevingDefault = v.RecevingDefault; } if (!v.IsColumnNull("BoxWidth")) { t.BoxWidth = v.BoxWidth; } if (!v.IsColumnNull("BoxHeight")) { t.BoxHeight = v.BoxHeight; } if (!v.IsColumnNull("BoxLength")) { t.BoxLength = v.BoxLength; } if (!v.IsColumnNull("BrandName")) { t.BrandName = v.BrandName; } if (!v.IsColumnNull("StackHeight")) { t.StackHeight = v.StackHeight; } list.Add(t); v.MoveNext(); } return(list); }