Ejemplo n.º 1
0
        public void Insert(short?IdCanLamSangThucHien, short?ThucHienCho, short?TrangThaiThucHien, short?YeuCauXetNghiemId, long?Id, string MaBenhNhan, string Barcode, int?TestTypeId, string Sophieu, DateTime?TestDate, bool?IsTestName, bool?SendStatus)
        {
            TblYeucauXetnghiemVnio item = new TblYeucauXetnghiemVnio();

            item.IdCanLamSangThucHien = IdCanLamSangThucHien;

            item.ThucHienCho = ThucHienCho;

            item.TrangThaiThucHien = TrangThaiThucHien;

            item.YeuCauXetNghiemId = YeuCauXetNghiemId;

            item.Id = Id;

            item.MaBenhNhan = MaBenhNhan;

            item.Barcode = Barcode;

            item.TestTypeId = TestTypeId;

            item.Sophieu = Sophieu;

            item.TestDate = TestDate;

            item.IsTestName = IsTestName;

            item.SendStatus = SendStatus;


            item.Save(UserName);
        }
Ejemplo n.º 2
0
 public bool Destroy(object IdXetnghiem)
 {
     return(TblYeucauXetnghiemVnio.Destroy(IdXetnghiem) == 1);
 }