internal void SetBO(Indico.DAL.ReturnWeeklySummaryView obj) { // set the Indico.BusinessObjects.ReturnWeeklySummaryViewBO properties this.CompanyName = obj.CompanyName; this.Qty = obj.Qty; this.ShipmentMode = obj.ShipmentMode; this.ShipmentModeID = obj.ShipmentModeID; this.DistributorClientAddress = obj.DistributorClientAddress; this.PaymentMethod = obj.PaymentMethod; this.InvoiceStatus = obj.InvoiceStatus; this.ShipmentDate = obj.ShipmentDate; this.Invoice = obj.Invoice; this.Country = obj.Country; }
internal void SetDAL(Indico.DAL.ReturnWeeklySummaryView obj, IndicoEntities context) { // set the Indico.DAL.ReturnWeeklySummaryView properties obj.CompanyName = CompanyName; obj.Qty = Convert.ToInt32(Qty); obj.ShipmentMode = ShipmentMode; obj.ShipmentModeID = Convert.ToInt32(ShipmentModeID); obj.DistributorClientAddress = Convert.ToInt32(DistributorClientAddress); obj.PaymentMethod = PaymentMethod; obj.InvoiceStatus = InvoiceStatus; obj.ShipmentDate = Convert.ToDateTime(ShipmentDate); obj.Invoice = Convert.ToInt32(Invoice); obj.Country = Country; }