internal void SetBO(Indico.DAL.ReturnInvoiceOrderDetailView obj) { // set the Indico.BusinessObjects.ReturnInvoiceOrderDetailViewBO properties this.OrderDetail = obj.OrderDetail; this.OrderType = obj.OrderType; this.VisualLayout = obj.VisualLayout; this.VisualLayoutID = obj.VisualLayoutID; this.PatternID = obj.PatternID; this.Pattern = obj.Pattern; this.FabricID = obj.FabricID; this.Fabric = obj.Fabric; this.Order = obj.Order; this.Quantity = obj.Quantity; this.PurONo = obj.PurONo; this.Distributor = obj.Distributor; this.Coordinator = obj.Coordinator; this.Client = obj.Client; this.FactoryRate = obj.FactoryRate; this.Qty = obj.Qty; this.Gender = obj.Gender; this.AgeGroup = obj.AgeGroup; this.IndimanRate = obj.IndimanRate; this.InvoiceOrder = obj.InvoiceOrder; this.ShipmentAddress = obj.ShipmentAddress; this.ShipmentMode = obj.ShipmentMode; this.DestinationPort = obj.DestinationPort; this.ShipmentTerm = obj.ShipmentTerm; this.CostSheet = obj.CostSheet; }
internal void SetDAL(Indico.DAL.ReturnInvoiceOrderDetailView obj, IndicoEntities context) { // set the Indico.DAL.ReturnInvoiceOrderDetailView properties obj.OrderDetail = Convert.ToInt32(OrderDetail); obj.OrderType = OrderType; obj.VisualLayout = VisualLayout; obj.VisualLayoutID = Convert.ToInt32(VisualLayoutID); obj.PatternID = Convert.ToInt32(PatternID); obj.Pattern = Pattern; obj.FabricID = Convert.ToInt32(FabricID); obj.Fabric = Fabric; obj.Order = Convert.ToInt32(Order); obj.Quantity = Convert.ToInt32(Quantity); obj.PurONo = PurONo; obj.Distributor = Distributor; obj.Coordinator = Coordinator; obj.Client = Client; obj.FactoryRate = Convert.ToDecimal(FactoryRate); obj.Qty = Convert.ToInt32(Qty); obj.Gender = Gender; obj.AgeGroup = AgeGroup; obj.IndimanRate = Convert.ToDecimal(IndimanRate); obj.InvoiceOrder = Convert.ToInt32(InvoiceOrder); obj.ShipmentAddress = ShipmentAddress; obj.ShipmentMode = ShipmentMode; obj.DestinationPort = DestinationPort; obj.ShipmentTerm = ShipmentTerm; obj.CostSheet = Convert.ToInt32(CostSheet); }