Entity Framework 6 Refresher: Changing a nullable field to non-nullable
You may not know this, but on rare occasions business rules and requirements change. Let’s consider a case where our Person class has a Weight and a Modifie...
You may not know this, but on rare occasions business rules and requirements change. Let’s consider a case where our Person class has a Weight and a Modifie...
Often a one-to-one relationship is required. Mapping these in EF is very similar to mapping any other relationships. For this example each person can have...
Occasionally a many-to-many relationship needs to be established with an entity pointing to itself; In the case of the small domain we are working with, we ...
To demonstrate a many to many relationship, we can look at a two-way relationship between Person and Hobby. We start by adding a collection property to each...
To demonstrate a one-to-many relationship, we can associate Person with Hobby. This means that each hobby will belong to one and only one person (our peopl...
Entity Framework can determine a lot of things about your model on it’s own, but at some point you need to provide some information about your classes that i...
“Seed Data” is data that is inserted into the database when migrations are run. Generally, this would be relatively static look-up data such as States or Or...
It has been a long time since I used Entity Framework on anything other than an brownfield project where most work consisted of adding or removing the occasi...
Coming from a background with string static type checking, I am often very happy with the loseness of JavaScript. Working with this TypeScript interface, an...
While building Aurelia applications, I have occassionaly made changes that cause the gulp build process to crash. It is very easy to add console logging to ...
Dates can be tricky things. Let’s consider the case of getting a date from a Javascript front end all the way to SQL Server.
The rowversion data type is simple to implement, but provides some powerful functionality.
Q: What is dependency injection?