/// <summary> /// ɾ��������¼ /// </summary> /// <param name="SD_ID">��¼���</param> /// <returns>��Ӱ�������</returns> public int Deletes(string ids) { Business.Attachment attBLL = new Attachment(); attBLL.Delete(ids, XYECOM.Model.AttachmentItem.Supply, XYECOM.Model.UploadFileType.All); return DAL.Deletes(ids); }
/// <summary> /// ɾ��ָ����ŵ�չ�� /// </summary> /// <param name="ids">չ��Id����</param> /// <returns>����,���ڻ����0��ɾ���ɹ�,�����ʧ��</returns> public int Delete(string ids) { if (string.IsNullOrEmpty(ids)) return -2; Business.Attachment attBLL = new Attachment(); attBLL.Delete(ids, XYECOM.Model.AttachmentItem.Exhibition, UploadFileType.All); return DAL.Delete(ids); }
/// <summary> /// ɾ���û� /// </summary> /// <param name="userIds">�û���ż���</param> /// <returns>Ӱ������</returns> public int Delete(string userIds) { Business.Attachment attBLL = new Attachment(); attBLL.Delete(userIds, XYECOM.Model.AttachmentItem.User, XYECOM.Model.UploadFileType.All); return DAL.Delete(userIds); }