Exemple #1
0
        public void saveHistory(string crMa, string crTen, KhachHang kh, DoiTac dt, decimal Tien)
        {
            var gd = new GiaoDich()
            {
                MaGD     = crMa,
                MaKH     = kh.MaKH,
                MaDT     = dt.MaDT,
                SoTien   = Tien,
                TenGD    = crTen,
                ThoiGian = DateTime.Now,
                PhiGD    = fee(Tien)
            };

            bankdt.GiaoDiches.InsertOnSubmit(gd);
            bankdt.SubmitChanges();
        }
Exemple #2
0
 private void detach_GiaoDiches(GiaoDich entity)
 {
     this.SendPropertyChanging();
     entity.DoiTac = null;
 }
Exemple #3
0
 private void attach_GiaoDiches(GiaoDich entity)
 {
     this.SendPropertyChanging();
     entity.DoiTac = this;
 }
Exemple #4
0
 partial void DeleteGiaoDich(GiaoDich instance);
Exemple #5
0
 partial void UpdateGiaoDich(GiaoDich instance);
Exemple #6
0
 partial void InsertGiaoDich(GiaoDich instance);