Ejemplo n.º 1
0
    protected void ODS_TransportationRouteDetail_Updating(object sender, ObjectDataSourceMethodEventArgs e)
    {
        Controls_TextBox tbTAddress = ((Controls_TextBox)(this.FV_TransportationRouteDetail.FindControl("tbTAddress")));

        transportationRouteDetail = (TransportationRouteDetail)e.InputParameters[0];
        transportationRouteDetail.TransportationAddress = TheTransportationAddressMgr.LoadTransportationAddress(GetTransportationAddressId(tbTAddress.Text.Trim()));
        transportationRouteDetail.TransportationRoute   = TheTransportationRouteMgr.LoadTransportationRoute(this.TransportationRouteCode);
    }
Ejemplo n.º 2
0
    protected void FV_TransportationRouteDetail_DataBound(object sender, EventArgs e)
    {
        ((Literal)(this.FV_TransportationRouteDetail.FindControl("lbCurrentTransportationRoute"))).Text = this.TransportationRouteCode;

        if (TransportationRouteDetailId != null && TransportationRouteDetailId != string.Empty)
        {
            TransportationRouteDetail transportationRouteDetail = (TransportationRouteDetail)((FormView)sender).DataItem;

            Controls_TextBox tbTAddress = (Controls_TextBox)this.FV_TransportationRouteDetail.FindControl("tbTAddress");

            if (transportationRouteDetail.TransportationAddress != null && transportationRouteDetail.TransportationAddress.Id.ToString() != string.Empty)
            {
                tbTAddress.Text = transportationRouteDetail.TransportationAddress.FullAddressAndId;
            }
        }
    }
 public virtual void UpdateTransportationRouteDetail(TransportationRouteDetail entity)
 {
     Update(entity);
 }
Ejemplo n.º 4
0
    protected void ODS_TransportationRouteDetail_Updating(object sender, ObjectDataSourceMethodEventArgs e)
    {
        Controls_TextBox tbTAddress = ((Controls_TextBox)(this.FV_TransportationRouteDetail.FindControl("tbTAddress")));

        transportationRouteDetail = (TransportationRouteDetail)e.InputParameters[0];
        transportationRouteDetail.TransportationAddress = TheTransportationAddressMgr.LoadTransportationAddress(GetTransportationAddressId(tbTAddress.Text.Trim()));
        transportationRouteDetail.TransportationRoute = TheTransportationRouteMgr.LoadTransportationRoute(this.TransportationRouteCode);
    }
 public virtual void DeleteTransportationRouteDetail(TransportationRouteDetail entity)
 {
     Delete(entity);
 }
Ejemplo n.º 6
0
 public virtual void UpdateTransportationRouteDetail(TransportationRouteDetail entity)
 {
     entityDao.UpdateTransportationRouteDetail(entity);
 }
Ejemplo n.º 7
0
 public virtual void DeleteTransportationRouteDetail(TransportationRouteDetail entity)
 {
     entityDao.DeleteTransportationRouteDetail(entity);
 }
Ejemplo n.º 8
0
 public virtual void CreateTransportationRouteDetail(TransportationRouteDetail entity)
 {
     Create(entity);
 }
Ejemplo n.º 9
0
 public void UpdateTransportationRouteDetail(TransportationRouteDetail transportationRouteDetail)
 {
     TransportationRouteDetailMgr.UpdateTransportationRouteDetail(transportationRouteDetail);
 }
Ejemplo n.º 10
0
 public void DeleteTransportationRouteDetail(TransportationRouteDetail transportationRouteDetail)
 {
     TransportationRouteDetailMgr.DeleteTransportationRouteDetail(transportationRouteDetail);
 }
Ejemplo n.º 11
0
 public void CreateTransportationRouteDetail(TransportationRouteDetail transportationRouteDetail)
 {
     TransportationRouteDetailMgr.CreateTransportationRouteDetail(transportationRouteDetail);
 }
 public virtual void CreateTransportationRouteDetail(TransportationRouteDetail entity)
 {
     entityDao.CreateTransportationRouteDetail(entity);
 }