Exemplo 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);
    }
Exemplo 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);
 }
Exemplo 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);
 }
Exemplo n.º 6
0
 public virtual void UpdateTransportationRouteDetail(TransportationRouteDetail entity)
 {
     entityDao.UpdateTransportationRouteDetail(entity);
 }
Exemplo n.º 7
0
 public virtual void DeleteTransportationRouteDetail(TransportationRouteDetail entity)
 {
     entityDao.DeleteTransportationRouteDetail(entity);
 }
Exemplo n.º 8
0
 public virtual void CreateTransportationRouteDetail(TransportationRouteDetail entity)
 {
     Create(entity);
 }
Exemplo n.º 9
0
 public void UpdateTransportationRouteDetail(TransportationRouteDetail transportationRouteDetail)
 {
     TransportationRouteDetailMgr.UpdateTransportationRouteDetail(transportationRouteDetail);
 }
Exemplo n.º 10
0
 public void DeleteTransportationRouteDetail(TransportationRouteDetail transportationRouteDetail)
 {
     TransportationRouteDetailMgr.DeleteTransportationRouteDetail(transportationRouteDetail);
 }
Exemplo n.º 11
0
 public void CreateTransportationRouteDetail(TransportationRouteDetail transportationRouteDetail)
 {
     TransportationRouteDetailMgr.CreateTransportationRouteDetail(transportationRouteDetail);
 }
 public virtual void CreateTransportationRouteDetail(TransportationRouteDetail entity)
 {
     entityDao.CreateTransportationRouteDetail(entity);
 }