can a raspberry pi get internet from PC via rj45

I have a raspberry pi 1 B and I want it to be connected to pc through RJ45. The problem is I can't access to internet now Is there any solution to get internet shared via RJ45 from my PC ?