internal void SetBO(Indico.DAL.IndimanPriceView obj) { // set the Indico.BusinessObjects.IndimanPriceViewBO properties this.SportsCategory = obj.SportsCategory; this.ItemSubCategory = obj.ItemSubCategory; this.OtherCategories = obj.OtherCategories; this.PatternNumber = obj.PatternNumber; this.PatternDsc = obj.PatternDsc; this.FabricDsc = obj.FabricDsc; this.IndimanCost = obj.IndimanCost; this.ConvertionFactor = obj.ConvertionFactor; this.EnableForPriceList = obj.EnableForPriceList; }
internal void SetDAL(Indico.DAL.IndimanPriceView obj, IndicoEntities context) { // set the Indico.DAL.IndimanPriceView properties obj.SportsCategory = SportsCategory; obj.ItemSubCategory = ItemSubCategory; obj.OtherCategories = OtherCategories; obj.PatternNumber = PatternNumber; obj.PatternDsc = PatternDsc; obj.FabricDsc = FabricDsc; obj.IndimanCost = Convert.ToDecimal(IndimanCost); obj.ConvertionFactor = Convert.ToDecimal(ConvertionFactor); obj.EnableForPriceList = Convert.ToBoolean(EnableForPriceList); }