I did this because i was in need something like this for my homework with the help of this methods you will be able to do CRUD operations
- command_ExecuteReader: This is for Select statement (Read part).
- command_ExecuteNonQuery: This method is for inserting, deleting, etc.
- command_open_Connection: This is for opening a connection to mssql.
- command_close_Connection: This is for closing a connection to mssql.
- Is_there_a_connection: This is a stupid function just for is there a connection.
- command_ExecuteScalar: Returns number of rows inside database.
- command_read_sp: for reading sp from database.
- ExecuteStoredProcedureReturnDataSet: this is for inserting or updating sp.
- command_multiple_ExecuteNonQuery_with_transaction: silly method for looking everything is ok while sending multiple queries.