In this tutorial, we are going to learn how to define one to many relationship in entity framework code first approach between two entities (domain classes) using entity framework 6. First-of-all, we will create two entities (domain classes) Employee.cs and Company.cs and then we will see different types to define a relation between two entities using by following conventions and then we will define by using fluent API configurations.
[Read more…]You are here: Home / Archives for Relationship