Advertisement
riste5

IDatabase.cs

Nov 16th, 2024
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.44 KB | None | 0 0
  1. /*
  2. Interface
  3. */
  4.  
  5. using System;
  6. using System.Collections.Generic;
  7. using System.Data.SqlClient;
  8. using System.Linq;
  9. using System.Text;
  10. using System.Threading.Tasks;
  11.  
  12. namespace Hotel_Management_System
  13. {
  14.     internal interface IDatabase
  15.     {
  16.         void openConnection();
  17.         void closeConnection();
  18.         bool getConnectionState();
  19.         SqlConnection getConnection();
  20.         SqlCommand executeCommand(string command);
  21.     }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement