/// <summary> /// Xóa tbleAliasMapping /// </summary> /// <param name="pId"></param> public static void DeleteAliasMapping(int pId) { if (TblAliasMapping.FetchByID(pId) != null) { TblAliasMapping.Delete(pId); } }
/// <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; } }