internal void SetBO(Indico.DAL.ReturnCartonsDetailsView obj) { // set the Indico.BusinessObjects.ReturnCartonsDetailsViewBO properties this.Carton = obj.Carton; this.FillQty = obj.FillQty; this.TotalQty = obj.TotalQty; this.CompanyName = obj.CompanyName; this.Address = obj.Address; this.Suberb = obj.Suberb; this.State = obj.State; this.PostCode = obj.PostCode; this.Country = obj.Country; this.ShimentModeID = obj.ShimentModeID; this.ShipmentMode = obj.ShipmentMode; this.ShipTo = obj.ShipTo; }
internal void SetDAL(Indico.DAL.ReturnCartonsDetailsView obj, IndicoEntities context) { // set the Indico.DAL.ReturnCartonsDetailsView properties obj.Carton = Convert.ToInt32(Carton); obj.FillQty = Convert.ToInt32(FillQty); obj.TotalQty = Convert.ToInt32(TotalQty); obj.CompanyName = CompanyName; obj.Address = Address; obj.Suberb = Suberb; obj.State = State; obj.PostCode = PostCode; obj.Country = Country; obj.ShimentModeID = Convert.ToInt32(ShimentModeID); obj.ShipmentMode = ShipmentMode; obj.ShipTo = Convert.ToInt32(ShipTo); }