public Boolean DeleteAddress(long id) //Delete Address for Customer:Seller by address ID { if (_addressDA.DeleteAddress(id)) { return(true); } return(false); }
/// <summary> /// 删除Address信息 /// </summary> public static bool DeleteAddress(int companySysNo, int sysNo, bool isDeleteMoreNode = true) { Address addInfo = AddressDA.LoadAddress(sysNo); if (addInfo == null) { return(true); } if (companySysNo > 0 && addInfo.CompanySysNo != companySysNo) { return(true); } return(AddressDA.DeleteAddress(sysNo, isDeleteMoreNode)); }
/// <summary> /// 删除Address信息 /// </summary> public static void DeleteAddress(int sysNo, bool isDeleteMoreNode = true) { AddressDA.DeleteAddress(sysNo, isDeleteMoreNode); }