예제 #1
0
        public GIOHANG(int ma)
        {
            mahoa = ma;
            HOA h = db.HOAs.Single(m => m.MAHOA == mahoa);

            tenhoa  = h.TENHOA;
            anhbia  = h.ANHBIA;
            dongia  = double.Parse(h.GIABAN.ToString());
            soluong = 1;
        }
예제 #2
0
 private void detach_HOAs(HOA entity)
 {
     this.SendPropertyChanging();
     entity.LOAI1 = null;
 }
예제 #3
0
 private void attach_HOAs(HOA entity)
 {
     this.SendPropertyChanging();
     entity.LOAI1 = this;
 }
예제 #4
0
 partial void DeleteHOA(HOA instance);
예제 #5
0
 partial void UpdateHOA(HOA instance);
예제 #6
0
 partial void InsertHOA(HOA instance);