All about .NET development blog From basic C# to advanced Entity Framework, MVC and SharePoint

CategoryDatabase development

How to automatically load navigation properties in Entity Framework (Core)

H

Anyone who has worked with Entity Framework will have had to manage with loading related entities. I believe many developers will agree the way that system works is difficult to reconcile with design patterns such as the Repository pattern. In this post, I’ll provide one quick and easy way to automatically load all related properties from the database. Update 2018-11-26: Added the...

Best of Stack Overflow

B

Just as in my other post about topics I have to “re-Google” often, this post serves as a catalog of interesting Stack Overflow articles. Because the concept of browser favorites doesn’t work quite well in my world, this blog post does the job of keeping a simple and convenient list very well. To keep things as simple as possible, I have divided the post in categories, comparable...

Creating SQL schemas using Entity Framework Code First

C

As you might have read in my previous post, I used SQL schemas to partition data between tenants. Being part of the true definition of SaaS, a new tenant should be up and running within minutes without any human intervention. With my suggested approach, we need to do two things: Registering a new tenantAttaching users to the tenant In this article, I am going to focus on the first item whereas...

All about .NET development blog From basic C# to advanced Entity Framework, MVC and SharePoint