Ejemplo n.º 1
0
        public static void AdjustReservations()
        {
            dbConnection.OpenConnection();
            // This func. is responsible for checking reservation dates if there is any out dated reservation.
            SqlCommand cmd = new SqlCommand();

            cmd.CommandText = DBCommandCreator.EXEC(new string[0], "SP_rezKontrol");
            dbConnection.ExecuteQueries(cmd);
            dbConnection.CloseConnection();
        }