public void Update(long Id, string NameFile, string DisplayName, byte[] FileData, long?FileSize, DateTime?UploadDate, string MaLanKham, long?IdChiTietChiDinh) { KcbKetquaHa item = new KcbKetquaHa(); item.MarkOld(); item.IsLoaded = true; item.Id = Id; item.NameFile = NameFile; item.DisplayName = DisplayName; item.FileData = FileData; item.FileSize = FileSize; item.UploadDate = UploadDate; item.MaLanKham = MaLanKham; item.IdChiTietChiDinh = IdChiTietChiDinh; item.Save(UserName); }
public bool Destroy(object Id) { return(KcbKetquaHa.Destroy(Id) == 1); }
public bool Delete(object Id) { return(KcbKetquaHa.Delete(Id) == 1); }