internal void SetBO(Indico.DAL.DistributorNullPatternPriceLevelCostView obj) { // set the Indico.BusinessObjects.DistributorNullPatternPriceLevelCostViewBO properties this.ID = obj.ID; this.Price = obj.Price; this.PriceLevel = obj.PriceLevel; this.FactoryCost = obj.FactoryCost; this.IndimanCost = obj.IndimanCost; this.Distributor = obj.Distributor; this.Markup = obj.Markup; this.EditedCIFPrice = obj.EditedCIFPrice; this.EditedFOBPrice = obj.EditedFOBPrice; this.ModifiedDate = obj.ModifiedDate; }
internal void SetDAL(Indico.DAL.DistributorNullPatternPriceLevelCostView obj, IndicoEntities context) { // set the Indico.DAL.DistributorNullPatternPriceLevelCostView properties obj.ID = Convert.ToInt32(ID); obj.Price = Convert.ToInt32(Price); obj.PriceLevel = Convert.ToInt32(PriceLevel); obj.FactoryCost = Convert.ToDecimal(FactoryCost); obj.IndimanCost = Convert.ToDecimal(IndimanCost); obj.Distributor = Convert.ToInt32(Distributor); obj.Markup = Convert.ToDecimal(Markup); obj.EditedCIFPrice = Convert.ToDecimal(EditedCIFPrice); obj.EditedFOBPrice = Convert.ToDecimal(EditedFOBPrice); obj.ModifiedDate = ModifiedDate; }