Exemple #1
0
        public void Insert(DateTime NgayChot, string NguoiChot, byte?Noitru)
        {
            TLichsuChotthuoc item = new TLichsuChotthuoc();

            item.NgayChot = NgayChot;

            item.NguoiChot = NguoiChot;

            item.Noitru = Noitru;


            item.Save(UserName);
        }
Exemple #2
0
        public void Update(int IdChot, DateTime NgayChot, string NguoiChot, byte?Noitru)
        {
            TLichsuChotthuoc item = new TLichsuChotthuoc();

            item.MarkOld();
            item.IsLoaded = true;

            item.IdChot = IdChot;

            item.NgayChot = NgayChot;

            item.NguoiChot = NguoiChot;

            item.Noitru = Noitru;

            item.Save(UserName);
        }