Code First Entity

I was working on a project this past week that was requested in Entity Framework. I previously worked in Entity a little while attending The Software Guild. But this was my first time doing code-first entity. It was a little different but after doing a bunch of reading online I was able to get the project to generate SQL with little issue.

After I got the hang of it I feel like it was even more straight forward and easier to get the hang of than the repository method I had used previously. If I had a do over though I would use more view models to allow more complexity on my pages.

Overall, I definitely would do a project this way again. I’m really enjoying learning new things and technologies every time I start a project.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s