예제 #1
0
 public OrderItem(Product product, short quantity, decimal unitPrice, float discount)
     : this()
 {
     Product = product;
     Quantity = quantity;
     UnitPrice = unitPrice;
     Discount = discount;
 }
예제 #2
0
 partial void DeleteProduct(Product instance);
예제 #3
0
 partial void UpdateProduct(Product instance);
예제 #4
0
 partial void InsertProduct(Product instance);
예제 #5
0
		private void detach_Products(Product entity)
		{
			this.SendPropertyChanging();
			entity.Category = null;
		}
예제 #6
0
		private void attach_Products(Product entity)
		{
			this.SendPropertyChanging();
			entity.Category = this;
		}
예제 #7
0
		private void detach_Products(Product entity)
		{
			this.SendPropertyChanging();
			entity.Supplier = null;
		}
예제 #8
0
		private void attach_Products(Product entity)
		{
			this.SendPropertyChanging();
			entity.Supplier = this;
		}