With previus versions of entity framework your could write a query with just a table name like this:
Type t = Type.GetType(Assembly.GetExecutingAssembly().GetName