Example #1
0
 partial void DeleteProduct( Product instance );
Example #2
0
 partial void InsertProduct( Product instance );
Example #3
0
 partial void UpdateProduct( Product instance );
Example #4
0
 private void detach_Products( Product entity )
 {
     SendPropertyChanging();
     entity.Category = null;
 }
Example #5
0
 private void attach_Products( Product entity )
 {
     SendPropertyChanging();
     entity.Category = this;
 }
Example #6
0
 private void detach_Products( Product entity )
 {
     SendPropertyChanging();
     entity.Supplier = null;
 }
Example #7
0
 private void attach_Products( Product entity )
 {
     SendPropertyChanging();
     entity.Supplier = this;
 }
        // Add a New Product

        public void AddProduct( Product product )
        {
            Products.InsertOnSubmit( product );
        }