Esempio n. 1
0
 public void SubmitForm(BI_ProductInfoEntity entity, string keyValue)
 {
     if (string.IsNullOrWhiteSpace(keyValue))
     {
         entity.Create();
         entity.F_EnabledMark = true;
         infoApp.Insert(entity);
     }
     else
     {
         entity.Modify(keyValue);
         infoApp.Update(entity);
     }
 }