Example #1
0
 partial void DeleteMaterialToProduct(MaterialToProduct instance);
Example #2
0
 partial void UpdateMaterialToProduct(MaterialToProduct instance);
Example #3
0
 partial void InsertMaterialToProduct(MaterialToProduct instance);
Example #4
0
		private void detach_MaterialToProducts(MaterialToProduct entity)
		{
			this.SendPropertyChanging();
			entity.Product = null;
		}
Example #5
0
		private void attach_MaterialToProducts(MaterialToProduct entity)
		{
			this.SendPropertyChanging();
			entity.Material = this;
		}
Example #6
0
 public MaterialToProduct Edit(MaterialToProduct mp)
 {
     db.MaterialToProducts.InsertOnSubmit(mp);
     db.SubmitChanges();
     return mp;
 }