internal void SetBO(Indico.DAL.ReturnDetailReportContent obj) { // set the Indico.BusinessObjects.ReturnDetailReportContentBO properties this.MonthAndYear = obj.MonthAndYear; this.DistributorName = obj.DistributorName; this.VLName = obj.VLName; this.SubItemName = obj.SubItemName; this.JobName = obj.JobName; this.Quantity = obj.Quantity; this.QuantityPercentage = obj.QuantityPercentage; this.Value = obj.Value; this.ValuePercentage = obj.ValuePercentage; this.AvgPrice = obj.AvgPrice; }
internal void SetDAL(Indico.DAL.ReturnDetailReportContent obj, IndicoEntities context) { // set the Indico.DAL.ReturnDetailReportContent properties obj.MonthAndYear = MonthAndYear; obj.DistributorName = DistributorName; obj.VLName = VLName; obj.SubItemName = SubItemName; obj.JobName = JobName; obj.Quantity = Convert.ToInt32(Quantity); obj.QuantityPercentage = Convert.ToDecimal(QuantityPercentage); obj.Value = Convert.ToDecimal(Value); obj.ValuePercentage = Convert.ToDecimal(ValuePercentage); obj.AvgPrice = Convert.ToDecimal(AvgPrice); }