Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 10th, 2012  |  syntax: None  |  size: 0.60 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. using System;
  2. using System.Collections.Generic;
  3. using Softwave.Data.DataAccessLayer.DatabaseOperation;
  4. using Softwave.Data.DataAccessLayer.Interface;
  5.  
  6. namespace Softwave.Data.DataAccessLayer.DataAccess
  7. {
  8.     class CustomerDataAccess:ICustomers
  9.     {
  10.        
  11.  
  12.         #region ICustomers Members
  13.  
  14.  
  15.         private CustomersDatabaseOperation customerDBOperation = new CustomersDatabaseOperation();
  16.  
  17.         public int Insert(NewFolder1.Customer customer)
  18.         {
  19.            return customerDBOperation.Insert(StoredProcedures.SP_InsertCustomer,customer.Id,customer.Name,customer.Mail);
  20.         }