Пример #1
0
        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);
        }
Пример #2
0
 public bool Destroy(object Id)
 {
     return(KcbKetquaHa.Destroy(Id) == 1);
 }
Пример #3
0
 public bool Delete(object Id)
 {
     return(KcbKetquaHa.Delete(Id) == 1);
 }