Exemple #1
0
 public int InsertCTHoaDonNhap(CTHoaDonNhap ct)
 {
     try
     {
         db.CTHoaDonNhaps.InsertOnSubmit(ct);
         db.SubmitChanges();
     }
     catch
     {
         return -1;
     }
     return 1;
 }
Exemple #2
0
 partial void DeleteCTHoaDonNhap(CTHoaDonNhap instance);
Exemple #3
0
 partial void UpdateCTHoaDonNhap(CTHoaDonNhap instance);
Exemple #4
0
 partial void InsertCTHoaDonNhap(CTHoaDonNhap instance);
Exemple #5
0
		private void detach_CTHoaDonNhaps(CTHoaDonNhap entity)
		{
			this.SendPropertyChanging();
			entity.Product = null;
		}
Exemple #6
0
		private void attach_CTHoaDonNhaps(CTHoaDonNhap entity)
		{
			this.SendPropertyChanging();
			entity.HoaDonNhap = this;
		}