예제 #1
0
    public void addAccountProperty_Click(object sender, EventArgs e)
    {
        TransitReminderAccountProperty trap = new TransitReminderAccountProperty();

        trap.AccountPropertyId = int.Parse(inputAccountProperty.SelectedValue);
        trap.ReminderId        = RequestId;
        trap.Value             = inputAccountPropertyValue.Text;
        trap.Unset             = inputAccountPropertyEmpty.Checked;
        SessionManager.CreateOrUpdate <TransitReminderAccountProperty>(
            trap, SessionManager.ObjectService.CreateOrUpdateReminderAccountProperty);
        GetAccountPropertiesData(sender, e);
        ReportInfo("Property Added");
    }
예제 #2
0
 public void addAccountProperty_Click(object sender, EventArgs e)
 {
     TransitReminderAccountProperty trap = new TransitReminderAccountProperty();
     trap.AccountPropertyId = int.Parse(inputAccountProperty.SelectedValue);
     trap.ReminderId = RequestId;
     trap.Value = inputAccountPropertyValue.Text;
     trap.Unset = inputAccountPropertyEmpty.Checked;
     SessionManager.CreateOrUpdate<TransitReminderAccountProperty>(
         trap, SessionManager.ObjectService.CreateOrUpdateReminderAccountProperty);
     GetAccountPropertiesData(sender, e);
     ReportInfo("Property Added");
 }
예제 #3
0
 public int CreateOrUpdateReminderAccountProperty(string ticket, TransitReminderAccountProperty reminderaccountproperty)
 {
     return(WebServiceImpl <TransitReminderAccountProperty, ManagedReminderAccountProperty, ReminderAccountProperty> .CreateOrUpdate(
                ticket, reminderaccountproperty));
 }
예제 #4
0
 public int CreateOrUpdateReminderAccountProperty(string ticket, TransitReminderAccountProperty reminderaccountproperty)
 {
     return WebServiceImpl<TransitReminderAccountProperty, ManagedReminderAccountProperty, ReminderAccountProperty>.CreateOrUpdate(
         ticket, reminderaccountproperty);
 }