Beispiel #1
0
        public Giohang(int masp)
        {
            iMasp = masp;
            ChiTietSanPham sp = db.ChiTietSanPhams.Single(dep => dep.MaSP == iMasp);

            iHinh   = sp.Hinh;
            iTensp  = sp.TenSP;
            iDongia = int.Parse(sp.Gia.ToString());
            iSolg   = 1;
        }
Beispiel #2
0
 private void detach_ChiTietSanPhams(ChiTietSanPham entity)
 {
     this.SendPropertyChanging();
     entity.Nhom = null;
 }
Beispiel #3
0
 partial void DeleteChiTietSanPham(ChiTietSanPham instance);
Beispiel #4
0
 partial void UpdateChiTietSanPham(ChiTietSanPham instance);
Beispiel #5
0
 partial void InsertChiTietSanPham(ChiTietSanPham instance);
Beispiel #6
0
 private void attach_ChiTietSanPhams(ChiTietSanPham entity)
 {
     this.SendPropertyChanging();
     entity.Loai = this;
 }