Hello everybody,
today I want to make short post on how to confiugre one to many relationship in Entity Framework 6.
Imagine following: One group can have multiple students. So one to many relationship. For this purpose you can use following convention configuration agreement:
public class&n...
Hello everybody,
today I want to share some strange behaviour that I faced.
Recently I needed to switch from .Net core 1.1 web app to .Net core 2.0 app.
I found over internet that simplest way to achieve it will be just opening project in Visual Studio 2017 and VS will switch your pro...
Hello everybody,
today I want to write about reflecting hierarchy of classes in db with help of code-first.
There are three types:
Table per Hierarchy
Table per Type
Table per conreate class.
Below goes more detailed description
Table per Hierarchy (TPH): one table for the en...