Tips & Tricks on ASP.NET MVC, Ajax, jQuery, Entity Framework

Entries for the ‘CodeProject’ Category

Entity Framework Code First Inheritance : Table Per Type and Table Per Hierarchy

Recently i answered a question in stackoverflow about how to create separate tables for each sub type when handling inheritance. Today i thought of expanding it with some sample source code and share it here. While working with data driven applications, Some times we need to implement Inheritance in our code as well as the data storage. Let’s take a look [...]

Starting Entity Framework Codefirst Approach Part- 2

This is the second part of my Entity Framework Codefirst  Tutorial for beginners. If you want to start fresh , Visit the first part here. If you tried the first part, while creating the database using code first approach, you might have noticed that our columns of string type is created as nullable columns of type [...]