I'm not sure how I can get the `EntityFramework` meta-data for an `Entity` (i have on my EF designer / edmx) for a `Poco` object.

For example.

My diagram has an Entity called `User`. I also have a Poco class called `User`. I'm under the impression that the Entity name and Poco need to be the same name, so the convention can auto-map the two (along with the poco having the same property names, etc...)

So if i have a type Poco, how can i retrieve the Entity and therefore check that entity to see it's meta-data, like `EntityKey` or `StoreGeneratedPattern`, etc ?

Oh - by the way... I don't know what the Poco type is .. meaning .. the class uses Generics...

```
public class GenericRepository<T> : IRepository<T> where T : class
{ ... }

```

So, i thought i was going to have to ask the context ... grab me the entity which has a `name == typeof(T).Name` or whatever...