Ejemplo n.º 1
0
 /// <summary>
 /// Xóa tbleAliasMapping
 /// </summary>
 /// <param name="pId"></param>
 public static void DeleteAliasMapping(int pId)
 {
     if (TblAliasMapping.FetchByID(pId) != null)
     {
         TblAliasMapping.Delete(pId);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Update tblAliasMaping
 /// </summary>
 /// <param name="pitems"></param>
 public static void UpdateAliasMapping(TblAliasMapping pitems)
 {
     try
     {
         if (TblAliasMapping.FetchByID(pitems.Id) != null)
         {
             pitems.IsNew = false;
             pitems.Save();
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }