If I understand correctly, you want to get a POCO type. Then declare the method and name it as follows:
public Type GetTypeOfPoco<T>(EntityTypeConfiguration<T> entityTypeConfiguration) { Type t = typeof(T); return t; }
name him;
Type t = GetTypeOfPoco(instance);
source share