Should I use Entities that are created by the Entity Framework in my code when I don't actually have any data based requirements. The example I am dealing with this is as follows;
Users logs in. I look for their user account using Linq to Entity. I store the whole entity object in session. On the next page I load, from session, the authenticated user object once more for reasons on the page.
Should you do this or should I write my own object and move the properties over to it on the original sign in?
Many Thanks