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