Tag: Entity Framework

Building .Net Core API for easy database switch

Building a solution from the start to be able to switch database can be a very smart move. In some cases it could be argued that too much software is built for re-usability and with layers of abstraction that are never actually used for anything. But in some cases it makes a lot of sense to make sure that you build your solution in a way that would afford you a good number of options going forward.

Override SaveChanges – EF database first – set properties

Entity Framework can be both a blessing and a curse – especially EF database first. For startups and small clean-sheet projects, it really works wonders. You can get…