Dynamic compilation

Finding the Location of a Running Assembly in .Net

For many reasons you might want to know where a running assembly is located on your filesystem. I had to do this once when I was compiling classes at runtime and had a dependency on EntityFramework.

Entity Framework in an Dynamics Nav (Navision) environment (or using EF to access tables with unknown table names)

Summary In this post I should how to use dynamic compilation to allow Entity Framework to reference tables whose names are not known at compile time. Details Entity Framework works great for the majority of scenarios; it handles tables in one database or spread across multiple databases very well.