Ejemplo n.º 1
0
 public void SaveFormListOption(FormListOption formListOption)
 {
     FormPropertyWithOptions formProperty = formListOption.FormProperty;
     if (formProperty != null)
         formProperty.Options.Add(formListOption);
     _session.Transact(session =>
     {
         formListOption.OnSaving(session);
         session.Save(formListOption);
     });
 }
Ejemplo n.º 2
0
 public void UpdateFormListOption(FormListOption formListOption)
 {
     _session.Transact(session =>
     {
         formListOption.OnSaving(session);
         session.Update(formListOption);
     });
 }