internal void SetBO(Indico.DAL.PriceLevelCostView obj)
 {
     // set the Indico.BusinessObjects.PriceLevelCostViewBO properties
     this.ID                 = obj.ID;
     this.Pattern            = obj.Pattern;
     this.FabricCode         = obj.FabricCode;
     this.Number             = obj.Number;
     this.NickName           = obj.NickName;
     this.Item               = obj.Item;
     this.SubItem            = obj.SubItem;
     this.CoreCategory       = obj.CoreCategory;
     this.FabricCodeName     = obj.FabricCodeName;
     this.ItemSubCategory    = obj.ItemSubCategory;
     this.OtherCategories    = obj.OtherCategories;
     this.ConvertionFactor   = obj.ConvertionFactor;
     this.EnableForPriceList = obj.EnableForPriceList;
 }
 internal void SetDAL(Indico.DAL.PriceLevelCostView obj, IndicoEntities context)
 {
     // set the Indico.DAL.PriceLevelCostView properties
     obj.ID                 = Convert.ToInt32(ID);
     obj.Pattern            = Convert.ToInt32(Pattern);
     obj.FabricCode         = Convert.ToInt32(FabricCode);
     obj.Number             = Number;
     obj.NickName           = NickName;
     obj.Item               = Convert.ToInt32(Item);
     obj.SubItem            = Convert.ToInt32(SubItem);
     obj.CoreCategory       = Convert.ToInt32(CoreCategory);
     obj.FabricCodeName     = FabricCodeName;
     obj.ItemSubCategory    = ItemSubCategory;
     obj.OtherCategories    = OtherCategories;
     obj.ConvertionFactor   = Convert.ToDecimal(ConvertionFactor);
     obj.EnableForPriceList = Convert.ToBoolean(EnableForPriceList);
 }