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

Untitled

By: a guest on May 10th, 2012  |  syntax: None  |  size: 0.58 KB  |  hits: 19  |  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.Collections.Generic;
  2. using Data.DataAccessLayer.DatabaseOperation;
  3. using Data.DataAccessLayer.Interface;
  4.  
  5. namespace Data.DataAccessLayer.DataAccess
  6. {
  7.     public class CustomerDataAccess :ICustomer  
  8.     {
  9.         private CustomersDataBaseOperation CustomerDBOperation= new CustomersDataBaseOperation();
  10.  
  11.         public int Insert (TableField.Customer customer)
  12.         {
  13.             return CustomerDBOperation.Insert (Storedprocedure.SP_InsertCustomer, customer.Id, customer.Name,
  14.                                               customer.Mail);
  15.  
  16.         }
  17.     }
  18. }