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

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