예제 #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;
        }
예제 #2
0
 private void detach_TRANHs(TRANH entity)
 {
     this.SendPropertyChanging();
     entity.CHUDE = null;
 }
예제 #3
0
 private void attach_TRANHs(TRANH entity)
 {
     this.SendPropertyChanging();
     entity.CHUDE = this;
 }
예제 #4
0
 partial void DeleteTRANH(TRANH instance);
예제 #5
0
 partial void UpdateTRANH(TRANH instance);
예제 #6
0
 partial void InsertTRANH(TRANH instance);