S
Stefan Hoffmann
hi @all,
I have the following interface declaration:
public interface IBaseDao<T> where T : BasePOJO
{
List<T> FindAll(Type entityClass);
}
The parameter entityClass should be typeof(T).
I thought of something like
List<T> FindAll(Type<T> entityClass);
but there is not such a generic for Type.
So, is this possible?
mfG
--> stefan <--
I have the following interface declaration:
public interface IBaseDao<T> where T : BasePOJO
{
List<T> FindAll(Type entityClass);
}
The parameter entityClass should be typeof(T).
I thought of something like
List<T> FindAll(Type<T> entityClass);
but there is not such a generic for Type.
So, is this possible?
mfG
--> stefan <--