Exemple #1
0
 internal void SetBO(Indico.DAL.ExcelPriceLevelCostView obj)
 {
     // set the Indico.BusinessObjects.ExcelPriceLevelCostViewBO properties
     this.PriceID             = obj.PriceID;
     this.SportsCategory      = obj.SportsCategory;
     this.OtherCategories     = obj.OtherCategories;
     this.PatternID           = obj.PatternID;
     this.ItemSubCategoris    = obj.ItemSubCategoris;
     this.NickName            = obj.NickName;
     this.FabricCodeName      = obj.FabricCodeName;
     this.FabricCodenNickName = obj.FabricCodenNickName;
     this.Number           = obj.Number;
     this.ConvertionFactor = obj.ConvertionFactor;
 }
Exemple #2
0
 internal void SetDAL(Indico.DAL.ExcelPriceLevelCostView obj, IndicoEntities context)
 {
     // set the Indico.DAL.ExcelPriceLevelCostView properties
     obj.PriceID             = Convert.ToInt32(PriceID);
     obj.SportsCategory      = SportsCategory;
     obj.OtherCategories     = OtherCategories;
     obj.PatternID           = Convert.ToInt32(PatternID);
     obj.ItemSubCategoris    = ItemSubCategoris;
     obj.NickName            = NickName;
     obj.FabricCodeName      = FabricCodeName;
     obj.FabricCodenNickName = FabricCodenNickName;
     obj.Number           = Number;
     obj.ConvertionFactor = Convert.ToDecimal(ConvertionFactor);
 }