Beispiel #1
0
        public TheLoaiTranh(string MATRANH)
        {
            iMATRANH = MATRANH;
            TRANH tranh = data.TRANHs.Single(m => m.MATRANH == iMATRANH);

            sTENTRANH = tranh.TENTRANH;
            sANHBIA   = tranh.ANHBIA;
            dGIABAN   = double.Parse(tranh.GIABAN.ToString());
            iSOLUONG  = 1;
        }
Beispiel #2
0
 private void detach_TRANHs(TRANH entity)
 {
     this.SendPropertyChanging();
     entity.CHUDE = null;
 }
Beispiel #3
0
 private void attach_TRANHs(TRANH entity)
 {
     this.SendPropertyChanging();
     entity.CHUDE = this;
 }
Beispiel #4
0
 partial void DeleteTRANH(TRANH instance);
Beispiel #5
0
 partial void UpdateTRANH(TRANH instance);
Beispiel #6
0
 partial void InsertTRANH(TRANH instance);