I agree with the first commenter that it's hard to understand what
you're trying to do.
Given what you've said, one possible interpretation says maybe this
would be what you're looking for:
public interface IBaseDao<Twhere T : BasePOJO
{
List<TFindAll(T entityClass);
}
Is that it, or do we just need more information?
Kyle
On Sep 11, 8:05*am, Stefan Hoffmann <stefan.hoffm...@explido.de>
wrote:
hi @all,
I have the following interface declaration:
* * *public interface IBaseDao<Twhere T : BasePOJO
* * *{
* * * * *List<TFindAll(Type entityClass);
* * *}
The parameter entityClass should be typeof(T).
I thought of something like
* * *List<TFindAll(Type<TentityClass);
but there is not such a generic for Type.
So, is this possible?
mfG
--stefan <--