static void Main(string[] args)
        {
            ICRUDAble iCRUDAble;

            iCRUDAble = new CustomerDB();
            iCRUDAble.Create();
            iCRUDAble.Update();
            iCRUDAble.Read();
            iCRUDAble.Delete();

            iCRUDAble = new VendorDB();
            iCRUDAble.Create();
            iCRUDAble.Update();
            iCRUDAble.Read();
            iCRUDAble.Delete();

            iCRUDAble = new InvoiceDB();
            iCRUDAble.Create();
            iCRUDAble.Update();
            iCRUDAble.Read();
            iCRUDAble.Delete();
        }
示例#2
0
 public void Delete(Int32?ID)
 {
     m_db.Delete(ID);
 }