↧
EF 6.1: Turning on logging without recompiling
I already blogged about SQL logging in EF6. Part 3 of that series shows how to use EF with a logging framework such as NLog. If you do this then you can easily switch logging on and off using NLog or...
View ArticleEF 6.1: Creating indexes with IndexAttribute
Since EF 4.3 it has been possible to use CreateIndex and DropIndex in Code First Migrations to create and drop indexes. However this had to be done manually by editing the migration because the index...
View Article