Dependency Injection
Q: What is dependency injection?
Q: What is dependency injection?
The rowversion data type is simple to implement, but provides some powerful functionality.
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.
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...